Log

These APIs allow you to push entries to the AzzaMods Launcher log system.

Log.Info

Log.Info(params object[] toLog)

Add an Info level log to the log file.

This function takes an infinite number of arguments of any type, the API will try to cast what ever you provide to a string. This is great for logging exceptions.

e.g - Add a info level log entry.

Log.Info("This is an example log");

Log.Warning

Log.Warning(params object[] toLog)

Add an Warning level log to the log file.

This function takes an infinite number of arguments of any type, the API will try to cast what ever you provide to a string. This is great for logging exceptions.

e.g - Add a warning log entry.

Log.Warning("This is an example log");

Log.Error

Log.Error(params object[] toLog)

Add an Error level log to the log file.

This function takes an infinite number of arguments of any type, the API will try to cast what ever you provide to a string. This is great for logging exceptions.

e.g - Add an error log entry.

Log.Error("This is an example log");

Log.Message

Log.Message(string level, params object[] toLog)

Add an level level log to the log file. The level should ideally be one of Info, Warning or Error but can technically be any string value.

This function takes an infinite number of arguments of any type, the API will try to cast what ever you provide to a string. This is great for logging exceptions.

e.g - Add an info level log entry.

Log.Message("Info", "This is an example log");