Attributes | Name and Description |
---|---|
|
caplin.core.log.StoreLogger( level)
Constructs a StoreLogger. |
Attributes | Name and Description |
---|---|
|
String
dump()
Provides all of the stored log information as a string. |
|
Array
getLogRecords()
Provides all of the stored log information. |
|
void
log(String levelName, Array logData)
Stores the time and all the log information internally. |
|
void
register(String classPattern)
Registers this logger as a caplin.core.log.LogStoreService with the ServiceRegistry and as a caplin.core.log.Logger with the EventHub (to receive log messages). |
►
caplin.core.log.StoreLogger( level)
Constructs a StoreLogger.
level | the most detailed level at which to output log messages. Should be one of the levels defined statically on caplin.core.log.AbstractLogger. Will default to INFO level if not provided. |
►
String
dump()
Provides all of the stored log information as a string.
►
Array
getLogRecords()
Provides all of the stored log information.
►
void
log(String levelName, Array logData)
Stores the time and all the log information internally.
String | levelName | the name of the method that was called. |
Array | logData | the log information. |
►
void
register(String classPattern)
Registers this logger as a caplin.core.log.LogStoreService with the ServiceRegistry and as a caplin.core.log.Logger with the EventHub (to receive log messages).
String | classPattern | an optional pattern to restrict which messages the logger receives. |