logger


functionlogger.trace(fmt, ...)

trace

The parameters are passed to string.format and the result is printed to the in-game RocketRogue console

Parameters

  • Name
    fmt
    Type
    string
    Description

    Format string

  • Name
    ...
    Type
    any
    Description

    Format arguments

Example

logger.trace('Hello world!')

functionlogger.debug(fmt, ...)

debug

The parameters are passed to string.format and the result is printed to the in-game RocketRogue console

Parameters

  • Name
    fmt
    Type
    string
    Description

    Format string

  • Name
    ...
    Type
    any
    Description

    Format arguments

Example

logger.debug('Hello world!')

functionlogger.info(fmt, ...)

info

The parameters are passed to string.format and the result is printed to the in-game RocketRogue console

Parameters

  • Name
    fmt
    Type
    string
    Description

    Format string

  • Name
    ...
    Type
    any
    Description

    Format arguments

Example

logger.info('Hello world!')

functionlogger.warn(fmt, ...)

warn

The parameters are passed to string.format and the result is printed to the in-game RocketRogue console

Parameters

  • Name
    fmt
    Type
    string
    Description

    Format string

  • Name
    ...
    Type
    any
    Description

    Format arguments

Example

logger.warn('Hello world!')

functionlogger.error(fmt, ...)

error

The parameters are passed to string.format and the result is printed to the in-game RocketRogue console

Parameters

  • Name
    fmt
    Type
    string
    Description

    Format string

  • Name
    ...
    Type
    any
    Description

    Format arguments

Example

logger.error('Hello world!')

functionlogger.critical(fmt, ...)

critical

The parameters are passed to string.format and the result is printed to the in-game RocketRogue console

Parameters

  • Name
    fmt
    Type
    string
    Description

    Format string

  • Name
    ...
    Type
    any
    Description

    Format arguments

Example

logger.critical('Hello world!')