- Source:
Methods
(inner) create(logger, scope) → {Object}
Returns a logger that prefixes each message of the given logger with a given scope
Parameters:
Name | Type | Description |
---|---|---|
logger |
Object | The logger to add a scope to |
scope |
string | The prefix for all log messages |
- Source:
Returns:
- Type
- Object