public static void Main(string[] args) { var logger = new Logger.Logger(); logger.Trace("Message"); logger.Fatal("Fatal"); var myClass = new MyClass("Ivan", 25); logger.Track(myClass); Console.WriteLine("OK"); Console.ReadKey(); }