/simple-logging

Simple Logging is a thin wrapper around the Unity logging system that helps you write cleaner logs.

Primary LanguageC#MIT LicenseMIT

Simple Logging

Simple Logging is a thin wrapper around the Unity logging system that helps you write cleaner logs.

Example

Use it like this:

SLog.Debug("My log message.");

This produces a log that looks like this:

[<class>.<method>:<lineNumber>] My log message.

To not show wrapper calls in the callstack, right-click on Console and enable Strip logging callstack.

Getting Started

Install Simple Logging using the Unity Package Manager:

https://github.com/PRODUKTIVKELLER/simple-logging.git