Skip to content

About

A logging tool that will log to file or to console with optional inputs for strings, ints, and floats.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

MultiLogger

A logging tool for Unity

To use this script, copy this script to your project and place it on any object that will be live throughout the entire game. This may require a singleton.

Then just call the methods as they are static.

IE: Logger.WriteToLog("test test");

Methods:

WriteToLog(string logMessage) Call this method and pass a $ formatted string by itself to inject that string into the log file on disk.

WriteToConsole(string logMessage) Call this method and pass a $ formatted string by itself to log that formatted string to the Unity console.

WriteToConsole(string optionalMessage = "", int optionalInt = -400, float optionalFloat = -400) Call this method and pass the optional values to log those values to the console.

About

A logging tool that will log to file or to console with optional inputs for strings, ints, and floats.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages