new ConsoleLogger()
Default logger that writes warnings to the console.
This is the default logger used by Pubst. It formats warning messages
and writes them to the console via `console.warn`.
- Source:
Methods
warn(source, message)
Log a warning message to the console.
Parameters:
| Name | Type | Description |
|---|---|---|
source |
string | The source of the warning (e.g. `'Pubst.publish'`). |
message |
string | The warning message. |
- Source: