Logger
Direct Subclass:
Abtstract class representing an object which can log debug messages. Can be attached to a Log with addLogger().
Constructor Summary
| Public Constructor | ||
| public |
|
|
Method Summary
| Public Methods | ||
| public |
send(level: type, tag: type, text: type) Logs a message to the console |
|
| public |
sendObject(level: type, tag: type, text: type, object: type) Log an object. |
|
| public |
setLogPrefix(prefix: *) |
|
Public Constructors
public constructor() source
Public Methods
public send(level: type, tag: type, text: type) source
Logs a message to the console
Params:
| Name | Type | Attribute | Description |
| level | type | Logging level |
|
| tag | type | Logging tag |
|
| text | type | Text to log |
public sendObject(level: type, tag: type, text: type, object: type) source
Log an object.
Params:
| Name | Type | Attribute | Description |
| level | type | Logging level |
|
| tag | type | Logging tag |
|
| text | type | Logging text |
|
| object | type | Object to be logged |
public setLogPrefix(prefix: *) source
Params:
| Name | Type | Attribute | Description |
| prefix | * |