Packagede.flamelab.log
Classpublic class LogFormatterSimple
ImplementsILogFormatter

Concrete Log formatter implementation. Formates the log event by a given string expression containig markers. The following markers will work: On creation you can pass in a fiven format string.



Public Methods
 MethodDefined by
  
LogFormatterSimple(format:String = null)
constructor, creates the fomatter object
LogFormatterSimple
  
format(event:LogEvent):String
Format log event by defined formating rule
LogFormatterSimple
Constructor detail
LogFormatterSimple()constructor
public function LogFormatterSimple(format:String = null)

constructor, creates the fomatter object

Parameters
format:String (default = null) — String with formatting rule
Method detail
format()method
public function format(event:LogEvent):String

Format log event by defined formating rule

Parameters
event:LogEvent — Log event containig all log related information

Returns
String — String Formatted event data