An open API service indexing awesome lists of open source software.

https://github.com/semaeopus/unity-logger

A simple channel driven logging script for use with Unity.
https://github.com/semaeopus/unity-logger

debug logger logging unity unity-3d unity-editor unity-scripts unity3d

Last synced: 5 months ago
JSON representation

A simple channel driven logging script for use with Unity.

Awesome Lists containing this project

README

          

# Unity-Logger

```C#
Logger.Log(Channel.AI, "Finding NPC paths");
Logger.Log(Channel.Audio, "Loading audio banks");
Logger.Log(Channel.Loading, "Begin Load");
Logger.Log(Channel.Loading, Priority.Error, "Load failed");
```
---

Unity-Logger is a simple channel driven logging script for use with Unity.

It was created during the development of [Off Grid](http://www.offgridthegame.com) to allow us to focus on current tasks and bugs by disabling logs from unrelated channels.

Due to it's nicely formatted output, it also allows the user to easily distinguish between the different channels.

Provided in this repo is also a simple editor script which allows the user to turn channels on and off, this works both in play mode and whilst editing.

# Installation
Simply copy the contents of this git repo to Assets/Plugins/Unity-Logger in your Unity project