Packageorg.as3commons.logging.impl
Classpublic class NullLogger
ImplementsILogger

Null object implementation of the the ILogger interface. This class is used internally by the LoggerFactory when its logger factory is set to null so that no logging happens.



Public Properties
 PropertyDefined by
  debugEnabled : Boolean
[read-only] Is debug logging currently enabled?
NullLogger
  errorEnabled : Boolean
[read-only] Is error logging currently enabled?
NullLogger
  fatalEnabled : Boolean
[read-only] Is fatal logging currently enabled?
NullLogger
  infoEnabled : Boolean
[read-only] Is info logging currently enabled?
NullLogger
  name : String
[read-only]
NullLogger
  warnEnabled : Boolean
[read-only] Is warn logging currently enabled?
NullLogger
Public Methods
 MethodDefined by
  
Creates a new NullLogger.
NullLogger
  
debug(message:String, ... params):void
Returns the name of this logger.
NullLogger
  
error(message:String, ... params):void
Logs a message with a "error" level.
NullLogger
  
fatal(message:String, ... params):void
Logs a message with a "fatal" level.
NullLogger
  
info(message:String, ... params):void
Logs a message with a "info" level.
NullLogger
  
warn(message:String, ... params):void
Logs a message with a "warn" level.
NullLogger
Property detail
debugEnabledproperty
debugEnabled:Boolean  [read-only]

Is debug logging currently enabled?

Implementation
    public function get debugEnabled():Boolean
errorEnabledproperty 
errorEnabled:Boolean  [read-only]

Is error logging currently enabled?

Implementation
    public function get errorEnabled():Boolean
fatalEnabledproperty 
fatalEnabled:Boolean  [read-only]

Is fatal logging currently enabled?

Implementation
    public function get fatalEnabled():Boolean
infoEnabledproperty 
infoEnabled:Boolean  [read-only]

Is info logging currently enabled?

Implementation
    public function get infoEnabled():Boolean
nameproperty 
name:String  [read-only]

Implementation
    public function get name():String
warnEnabledproperty 
warnEnabled:Boolean  [read-only]

Is warn logging currently enabled?

Implementation
    public function get warnEnabled():Boolean
Constructor detail
NullLogger()constructor
public function NullLogger()

Creates a new NullLogger.

Method detail
debug()method
public function debug(message:String, ... params):void

Returns the name of this logger.

Parameters
message:String
 
... params
error()method 
public function error(message:String, ... params):void

Logs a message with a "error" level.

Parameters
message:String
 
... params
fatal()method 
public function fatal(message:String, ... params):void

Logs a message with a "fatal" level.

Parameters
message:String
 
... params
info()method 
public function info(message:String, ... params):void

Logs a message with a "info" level.

Parameters
message:String
 
... params
warn()method 
public function warn(message:String, ... params):void

Logs a message with a "warn" level.

Parameters
message:String
 
... params