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.
- Host: GitHub
- URL: https://github.com/semaeopus/unity-logger
- Owner: Semaeopus
- License: bsd-3-clause
- Created: 2017-09-12T15:25:19.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-13T10:08:54.000Z (over 8 years ago)
- Last Synced: 2024-10-10T10:24:13.278Z (over 1 year ago)
- Topics: debug, logger, logging, unity, unity-3d, unity-editor, unity-scripts, unity3d
- Language: C#
- Homepage: http://www.offgridthegame.com
- Size: 5.86 KB
- Stars: 42
- Watchers: 4
- Forks: 14
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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