Package | com.boostworthy.utils.logger |
Class | public class Log |
Implements | ILog |
See also
Property | Defined by | ||
---|---|---|---|
m_strName : String
Stores this logs name.
| Log | ||
m_uLevel : uint
Stores this logs level.
| Log |
Method | Defined by | ||
---|---|---|---|
Log(strName:String, uLevel:uint)
Constructor.
| Log | ||
debug(strMessage:String):void
Logs a debug message.
| Log | ||
getLevel():uint
Gets the currently set log level.
| Log | ||
getName():String
Gets the name of this log.
| Log | ||
info(strMessage:String):void
Logs an info message.
| Log | ||
setLevel(uLevel:uint):void
Sets the log level for this log.
| Log | ||
severe(strMessage:String):void
Logs a severe message.
| Log | ||
warning(strMessage:String):void
Logs a warning message.
| Log |
Method | Defined by | ||
---|---|---|---|
createOutputMessage(strMessage:String, uLevel:uint):String
Creates a message for output based on the specified message and log level.
| Log | ||
getLevelName(uLevel:uint):String
Gets the name of the specified log level.
| Log | ||
init(strName:String, uLevel:uint):void
Initializes this object.
| Log | ||
output(strMessage:String, uLevel:uint):void
Outputs a runtime message for the specified log level, assuming the level is allowed.
| Log |
m_strName | property |
protected var m_strName:String
Stores this logs name.
m_uLevel | property |
Log | () | constructor |
public function Log(strName:String, uLevel:uint)
Constructor.
ParametersstrName:String |
|
uLevel:uint |
createOutputMessage | () | method |
protected function createOutputMessage(strMessage:String, uLevel:uint):String
Creates a message for output based on the specified message and log level.
ParametersstrMessage:String — The message for output.
|
|
uLevel:uint — The log level of the output message.
|
String — The original message with some additional formatting for output.
|
See also
debug | () | method |
public function debug(strMessage:String):void
Logs a debug message.
ParametersstrMessage:String — The message to log.
|
getLevel | () | method |
public function getLevel():uint
Gets the currently set log level.
Returnsuint — The currently set log level.
|
See also
getLevelName | () | method |
protected function getLevelName(uLevel:uint):String
Gets the name of the specified log level.
ParametersuLevel:uint — The log level in which to find the name of.
|
String — The name of the specified log level.
|
getName | () | method |
public function getName():String
Gets the name of this log.
ReturnsString — The name of this log.
|
info | () | method |
public function info(strMessage:String):void
Logs an info message.
ParametersstrMessage:String — The message to log.
|
init | () | method |
protected function init(strName:String, uLevel:uint):void
Initializes this object.
ParametersstrName:String |
|
uLevel:uint |
output | () | method |
protected function output(strMessage:String, uLevel:uint):void
Outputs a runtime message for the specified log level, assuming the level is allowed.
ParametersstrMessage:String — The message to output.
|
|
uLevel:uint — The log level of the output message.
|
See also
setLevel | () | method |
public function setLevel(uLevel:uint):void
Sets the log level for this log.
ParametersuLevel:uint — The log level in which to allow output from.
|
See also
severe | () | method |
public function severe(strMessage:String):void
Logs a severe message.
ParametersstrMessage:String — The message to log.
|
warning | () | method |
public function warning(strMessage:String):void
Logs a warning message.
ParametersstrMessage:String — The message to log.
|