ix.log

Logging helper functions.

Predefined flags:

FLAG_NORMAL
FLAG_SUCCESS
FLAG_WARNING
FLAG_DANGER
FLAG_SERVER
FLAG_DEV

Functions

ix.log.Add(client, logType, ...)

View source »

Add a log message

Parameters

  • client Player

    Player who instigated the log

  • ...

    Arguments to pass to the log

ix.log.AddType(logType, format, flag)

View source »

Adds a log type

Parameters

  • format string

    The string format that log messages should use

  • flag number

    Log level