Skip to content

Runtime Debug Logger for Unity

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta
Notifications You must be signed in to change notification settings

peartreegames/timber-logs

Repository files navigation

Timber Logs

Code from "Creating a Runtime Debug Logger in Unity" YouTube video

Installation

Can be installed via the Package Manager > Add Package From Git URL... https://github.com/peartreegames/timber-logs.git

Usage

On any MonoBehaviour: this.Timber(string message)

Example:

using UnityEngine;

public class MyClass : MonoBehaviour 
{
    public void Start() 
    {
        this.Timber("Starting");
    }
    
    public void OnDestroy()
    {
        this.Timber("Destroying");
    }
}

Output:

[MyClass.Start] Starting
[MyClass.OnDestroy] Destroying

Default Hotkeys

Key Description
Ctrl+Shift+L Toggle Logs Search
Ctrl+Shift+F Toggle Focused Logs Filter
Ctrl+Shift+W Close Focused Logs
Ctrl+Shift+Q Close All Logs
Ctrl+Shift+Left Focus Previous Logs
Ctrl+Shift+Right Focus Next Logs

About

Runtime Debug Logger for Unity

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages