Table of Contents

Using The LogManager Object

What is the LogManager Object?

The LogManager object (ILogManager) is the logging object within the Ashita hook used to write to the log files. These are useful for developers when trying to gather information from users about their addons and plugins for debug purposes.

Inside of addons, this object is named and accessible via: LogManager


Using LogManager

Please refer to the using AshitaCore documentation here for a similar experience. The object usage is the same.

The main, and currently only, function of the log manager object can be used as:

void LogManager:Log(level, source, message);

Log Levels:
 0 - None - No specific level given, base line log message.
 1 - Info - Information level message.
 2 - Warn - Warning level message.
 3 - Error - Error level message.
 4 - Debug - Debug level message.