SerenityJS
    Preparing search index...

    A colorized logger for applications.

    Index

    Constructors

    Properties

    The color of module name.

    name: string

    The module name of the logger.

    DEBUG: boolean = false

    Whether or not debug messages should be shown.

    Methods

    • Logs a chat message to the console. This shoud not be handeled by anyone just the TextPacket

      Parameters

      • ...arguments_: unknown[]

        The arguments to log.

      Returns void

    • Parameters

      • ...arguments_: unknown[]

      Returns unknown[]

    • Logs a debug message to the console. This will only log if the DEBUG flag is set to true.

      Parameters

      • ...arguments_: unknown[]

        The arguments to log.

      Returns void

    • Logs an error message to the console.

      Parameters

      • ...arguments_: unknown[]

        The arguments to log.

      Returns void

    • Logs an info message to the console.

      Parameters

      • ...arguments_: unknown[]

        The arguments to log.

      Returns void

    • Logs a message to the console.

      Parameters

      • ...arguments_: unknown[]

        The arguments to log.

      Returns void

    • Logs a success message to the console.

      Parameters

      • ...arguments_: unknown[]

        The arguments to log.

      Returns void

    • Logs a warning message to the console.

      Parameters

      • ...arguments_: unknown[]

        The arguments to log.

      Returns void