This class is responsible to log messages mainly in case of user bad input. If you're running desktop app, it will create a log file inside logs directory.

Constructors

Properties

data: GoldenSun
msgs_count: {
    [msg: string]: number;
}

Type declaration

  • [msg: string]: number
MESSAGE_NUMBER_LIMIT: 15 = 15

Methods

  • Parameters

    • message: string
    • type: msg_types = msg_types.WARNING

    Returns void