org.as2lib.core.BasicClass +--org.as2lib.env.log.logger.AlconLogger
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
public function isInfoEnabled(Void):BooleanChecks if this logger is enabled for info level messages.
true if info messages are logged
public function isWarningEnabled(Void):BooleanChecks if this logger is enabled for warning level messages.
true if warning messages are logged
public function isErrorEnabled(Void):BooleanChecks if this logger is enabled for error level messages.
true if error messages are logged
public function isFatalEnabled(Void):BooleanChecks if this logger is enabled for fatal level messages.
true if fatal messages are logged
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 |
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 |
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 |
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 |