Core
Framework v2.x
2

error() #

Logs an error message.

Before application startup this method will use console.log instead of the configured logger.

error(message: any): void

ArgumentTypeDescription
message
any
Message to log

Usage #

app.log.error('Something is happening')