// A simple logger class that uses Console.WriteLine by default. // Can also do Logger.LogMethod = Debug.Log for Unity etc. // (this way we don't have to depend on UnityEngine) using System; namespace kcp2k { public static class Log { public static Action Info = Console.WriteLine; public static Action Warning = Console.WriteLine; public static Action Error = Console.Error.WriteLine; } }