Esempio n. 1
0
		public static void LogDebug(this LoggingEventBus loggingEventBus, string logSource, object logClass, string message, params object[] args)
		{
			loggingEventBus.Publish(new DebugLogEvent(logSource, logClass.GetType(), StringFormat.SafeFormat(message, args)));
		}
Esempio n. 2
0
		public static void LogErrorException(this LoggingEventBus loggingEventBus, string logSource, object logClass, Exception exception, string message, params object[] args)
		{
			loggingEventBus.Publish(new ErrorLogEvent(logSource, logClass.GetType(), StringFormat.SafeFormat(message, args), exception));
		}