Package | org.swizframework.utils.logging |
Class | public class SwizLogger |
Inheritance | SwizLogger ![]() |
Property | Defined By | ||
---|---|---|---|
category : String [read-only]
The category this logger send messages for. | SwizLogger |
Property | Defined By | ||
---|---|---|---|
_category : String | SwizLogger | ||
loggers : Dictionary [static] | SwizLogger | ||
loggingTargets : Array [static] | SwizLogger |
Method | Defined By | ||
---|---|---|---|
SwizLogger(className:String) | SwizLogger | ||
addLoggingTarget(loggingTarget:AbstractSwizLoggingTarget):void [static] | SwizLogger | ||
categoryMatchInFilterList(category:String, filters:Array):Boolean [static]
This method checks that the specified category matches any of the filter
expressions provided in the filters Array. | SwizLogger | ||
debug(msg:String, ... rest):void | SwizLogger | ||
error(msg:String, ... rest):void | SwizLogger | ||
fatal(msg:String, ... rest):void | SwizLogger | ||
getLogger(target:Object):SwizLogger [static] | SwizLogger | ||
info(msg:String, ... rest):void | SwizLogger | ||
log(level:int, msg:String, ... rest):void | SwizLogger | ||
warn(msg:String, ... rest):void | SwizLogger |
Method | Defined By | ||
---|---|---|---|
constructMessage(msg:String, params:Array):String | SwizLogger |
_category | property |
protected var _category:String
category | property |
category:String
[read-only] The category this logger send messages for.
public function get category():String
loggers | property |
protected static var loggers:Dictionary
loggingTargets | property |
protected static var loggingTargets:Array
SwizLogger | () | Constructor |
public function SwizLogger(className:String)
className:String |
addLoggingTarget | () | method |
public static function addLoggingTarget(loggingTarget:AbstractSwizLoggingTarget):void
Parameters
loggingTarget:AbstractSwizLoggingTarget |
categoryMatchInFilterList | () | method |
public static function categoryMatchInFilterList(category:String, filters:Array):Boolean
This method checks that the specified category matches any of the filter
expressions provided in the filters
Array.
Parameters
category:String — The category to match against
| |
filters:Array — A list of Strings to check category against.
|
Boolean — true if the specified category matches any of the
filter expressions found in the filters list, false
otherwise.
|
constructMessage | () | method |
protected function constructMessage(msg:String, params:Array):String
Parameters
msg:String | |
params:Array |
String |
debug | () | method |
public function debug(msg:String, ... rest):void
Parameters
msg:String | |
... rest |
error | () | method |
public function error(msg:String, ... rest):void
Parameters
msg:String | |
... rest |
fatal | () | method |
public function fatal(msg:String, ... rest):void
Parameters
msg:String | |
... rest |
getLogger | () | method |
public static function getLogger(target:Object):SwizLogger
Parameters
target:Object |
SwizLogger |
info | () | method |
public function info(msg:String, ... rest):void
Parameters
msg:String | |
... rest |
log | () | method |
public function log(level:int, msg:String, ... rest):void
Parameters
level:int | |
msg:String | |
... rest |
warn | () | method |
public function warn(msg:String, ... rest):void
Parameters
msg:String | |
... rest |