Core
Framework v2.x
2

error() #

Logs an error message.

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

Copied to clipboard!
error(message: any): void

Argument Type Description
message
any
Message to log

Usage #

Copied to clipboard!
app.log.error('Something is happening')