Global

Type Definitions

ContextOptions

Type:
  • Object
Properties:
Type Description
Array.<PluginOptions>

options for plugins. Except name and type, other properties may be required for many plugins.

Source:

LoggerOptions

Type:
  • Object
Properties:
Name Type Attributes Default Description
name string

method name on logger

level number <optional>
100

a positive integer that represents its priority.

topic string

a human-readable label. Copied from name if not given

stack boolean <optional>
true

if this method should capture the calling stack

trace boolean <optional>
false

if this method should output stack trace

Source:

PluginOptions

Type:
  • Object
Properties:
Name Type Description
type string

plugin type name, that is formatter or handler

name string

unique plugin name

Source: