public void SimpleZLog() { var provider = new ZLoggerUnityLoggerProvider(Options.Create(new ZLoggerOptions())); var logger = provider.CreateLogger("mylogger1"); logger.ZLogDebug("foo"); }
public void SimpleZLogFormat() { var provider = new ZLoggerUnityLoggerProvider(Options.Create(new ZLoggerOptions())); var logger = provider.CreateLogger("mylogger2"); logger.ZLogDebug("foo{0} bar{1}", 100, 200); }
public void SimpleLogging() { var provider = new ZLoggerUnityLoggerProvider(Options.Create(new ZLoggerOptions())); var logger = provider.CreateLogger("mylogger"); logger.Log(LogLevel.Debug, "foo"); }