@bedrock-oss/bedrock-boost
    Preparing search index...

    Class LogLevel

    The LogLevel class defines the various logging levels used by the logger.

    Index

    Properties

    color: ChatColor
    level: number
    name: string
    Debug: LogLevel
    Error: LogLevel
    Fatal: LogLevel
    Info: LogLevel
    Trace: LogLevel
    values: LogLevel[]

    The list of all available log levels.

    Warn: LogLevel

    Methods

    • Return the logging level as a string.

      Returns string

      The string representation of the logging level.

    • Parse a string to get the corresponding LogLevel.

      Parameters

      • str: string

        The string to parse.

      Returns undefined | LogLevel

      The corresponding LogLevel, or undefined if none was found.