Options for this Hapi plugin.

Hierarchy

  • Options

Properties

channels?: string[]

The event channels you want to log.

Default Value

['app']

See

namespace?: string

The namespace for the debug logger (unstructured logging). This option has no effect when using structured logging.

Default Value

undefined

should_use_emoji_for_severity?: boolean

Whether to use an emoji for the severity level (unstructured logging). This option has no effect when using structured logging.

Default Value

true

should_validate_log_statements?: boolean

Whether each log statement should be validated against a Joi schema.

Default Value

false when NODE_ENV is 'production', true otherwise.

Generated using TypeDoc