debug


Description:

public void debug (int level, string message, string filter = "general")

Provides the ability to send various levels of debug messages to the user. The amount of debug information shown to the user is controlled via the PSCHEMA_DEBUG environment variable. All messages with a debug level equal to or less than the level specified by PSCHEMA_DEBUG will be sent to stderr.

Parameters:

level An integer representing the debug level at which to print the message.
message A string containing the debug message to be printed.

Namespace: PSchema
Package: PSchema