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 |