logger
Global object that allows logging messages such as error, warning or informational messages.
Methods
The following table describes the methods of the logger object.
Method | Parameters | Description |
---|---|---|
error() |
message: string |
Logs an error message |
info() |
message: string |
Logs an informational message |
warn() |
message: string |
Logs a warning message |