Contract for a Logger in Stormancer.
- Source:
Methods
log(level, category, message, data)
Logs a json message.
Parameters:
Name | Type | Description |
---|---|---|
level |
Stormancer.LogLevel | Log level. |
category |
string | Log category. Typically where the log was generated. |
message |
string | Log message. Description of the lof. |
data |
object | Detailed informations about the log. |
- Source: