Code from "Creating a Runtime Debug Logger in Unity" YouTube video
Can be installed via the Package Manager > Add Package From Git URL...
https://github.com/peartreegames/timber-logs.git
On any MonoBehaviour: this.Timber(string message)
using UnityEngine;
public class MyClass : MonoBehaviour
{
public void Start()
{
this.Timber("Starting");
}
public void OnDestroy()
{
this.Timber("Destroying");
}
}
[MyClass.Start] Starting
[MyClass.OnDestroy] Destroying
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 |