Class Log
- Defined in: Log.js
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Log()
|
Method Summary
| Method Attributes | Method Name and Description |
|---|---|
|
log(priority, message)
Logs the given message with the specified priority.
|
|
|
watch(logger)
Watches the given logger and logs all of its log messages.
|
|
|
writeEvent(logger, message, stream)
Formats the given log event and writes it to the given stream.
|
Class Detail
Log()
Method Detail
-
log(priority, message)Logs the given message with the specified priority.
- Parameters:
- priority
- message
-
watch(logger)Watches the given logger and logs all of its log messages.
- Parameters:
- {Logger} logger
-
writeEvent(logger, message, stream)Formats the given log event and writes it to the given stream.
- Parameters:
- {Logger} logger
- message
- stream