Skip to main content

@sapphire/plugin-logger

Enumerations

EnumerationDescription
LoggerStyleBackgroundThe background colors.
LoggerStyleEffectThe text styles.
LoggerStyleTextThe text colors.

Classes

ClassDescription
LoggerThe logger class.
LoggerLevelLogger utility that stores and applies a full style into the message.
LoggerStyleLogger utility that applies a style to a string.
LoggerTimestampLogger utility that formats a timestamp.

Interfaces

InterfaceDescription
LoggerFormatOptionsThe logger format options.
LoggerLevelOptionsThe options for LoggerLevel.
LoggerOptionsThe logger options.
LoggerStyleOptionsThe options for LoggerStyle.
LoggerTimestampFormatter-
LoggerTimestampOptionsThe options for LoggerTimestamp.

Type Aliases

Type aliasDescription
LoggerStyleResolvableThe value accepted by LoggerStyle's constructor. Read colorette's documentation for more information.

Variables

VariableDescription
versionThe @sapphire/plugin-logger version that you are currently using. An example use of this is showing it of in a bot information command.