Logger
AlconLogger delegates all messages to the
net.hiddenresource.util.Debug.trace method.
Using this class instead of the Debug class in your application
directly enables you to switch between almost every available Logging API without
having to change the logging calls but just the configuration on startup.
Every global configuration must be done via the static methods on the
Debug class itself.
new AlconLogger()static public DEBUG:Numberstatic public INFO:Numberstatic public WARN:Numberstatic public ERROR:Numberstatic public FATAL:Numberpublic function isDebugEnabled(Void):BooleanChecks if this logger is enabled for debug level messages.
true if debug messages are logged
isDebugEnabled() in org.as2lib.env.log.Logger
public function isInfoEnabled(Void):BooleanChecks if this logger is enabled for info level messages.
true if info messages are logged
isInfoEnabled() in org.as2lib.env.log.Logger
public function isWarningEnabled(Void):BooleanChecks if this logger is enabled for warning level messages.
true if warning messages are logged
isWarningEnabled() in org.as2lib.env.log.Logger
public function isErrorEnabled(Void):BooleanChecks if this logger is enabled for error level messages.
true if error messages are logged
isErrorEnabled() in org.as2lib.env.log.Logger
public function isFatalEnabled(Void):BooleanChecks if this logger is enabled for fatal level messages.
true if fatal messages are logged
isFatalEnabled() in org.as2lib.env.log.Logger
public function debug(message):Void
Logs the passed-in message at debug level.
The message is only logged when the level is set to debug or a level
above.
The message is logged using the Alcon.trace method, passing
the debug level number.
message | the message object to log |
debug() in org.as2lib.env.log.Logger
public function info(message):Void
Logs the passed-in message at info level.
The message is only logged when the level is set to info or a level
above.
The message is logged using the Alcon.trace method, passing
the info level number.
message | the message object to log |
info() in org.as2lib.env.log.Logger
public function warning(message):Void
Logs the passed-in message at warning level.
The message is only logged when the level is set to warning or a
level above.
The message is logged using the Alcon.trace method, passing
the warn level number.
message | the message object to log |
warning() in org.as2lib.env.log.Logger
public function error(message):Void
Logs the passed-in message at error level.
The message is only logged when the level is set to error or a level
above.
The message is logged using the Alcon.trace method, passing
the error level number.
message | the message object to log |
error() in org.as2lib.env.log.Logger
public function fatal(message):Void
Logs the passed-in message at fatal level.
The message is only logged when the level is set to fatal or a level
above.
The message is logged using the Alcon.trace method, passing
the fatal level number.
message | the message object to log |
fatal() in org.as2lib.env.log.Logger