error()
#
Logs an error message.
Before application startup this method will use console.log
instead of the configured logger.
error(message: any): void
Argument | Type | Description |
---|---|---|
message | any | Message to log |
Usage #
app.log.error('Something is happening')
Edit this page on Github (opens new window)