using System; namespace LiteNetLib { /// /// Interface to implement for your own logger /// public interface INetLogger { void WriteNet(ConsoleColor color, string str, params object[] args); } /// /// Static class for defining your own LiteNetLib logger instead of Console.WriteLine /// or Debug.Log if compiled with UNITY flag /// public static class NetDebug { public static INetLogger Logger = null; } }