org.as2lib.core.BasicInterface +--org.as2lib.env.log.LogLevel
LogLevel
is the basic interface for all levels.
It is used by loggers to write log messages at different levels and to define at which levels messages shall be written.
The default levels offered by the As2lib Logging API in a descending order
are ALL
, DEBUG
, INFO
, WARNING
, ERROR
,
FATAL
and NONE
. All these levels are defined as constants in
the AbstractLogLevel class. Use this class to reference them.
It is also possible to create your own log levels. You just must implement this interface or just instantiate one using the DynamicLogLevel class.
public function isGreaterOrEqual(level:LogLevel):Boolean
Determines whether this level is greater or equal than the passed-in
level
.
This is normally done using the number representation of this level and
comparing it using the greater or equal operator with the number representation
of the passed-in level
.
level | the level to compare this level with |
true
if this level is greater or equal than the passed-in
level
else false