internal static void Warn(this Logger logger, OrleansServiceBusErrorCode errorCode, string format, params object[] args) { logger.Log((int) errorCode, Severity.Warning, format, args, null); }
internal static void Error(this Logger logger, OrleansServiceBusErrorCode errorCode, string message, Exception exception = null) { logger.Log((int) errorCode, Severity.Error, message, new object[] {}, exception); }
internal static void Error(this Logger logger, OrleansServiceBusErrorCode errorCode, string message, Exception exception = null) { logger.Log((int)errorCode, Severity.Error, message, new object[] {}, exception); }
internal static void Warn(this Logger logger, OrleansServiceBusErrorCode errorCode, string format, params object[] args) { logger.Log((int)errorCode, Severity.Warning, format, args, null); }
internal static void Error(this ILogger logger, OrleansServiceBusErrorCode errorCode, string message, Exception exception = null) { logger.LogError((int)errorCode, exception, message); }
internal static void Warn(this ILogger logger, OrleansServiceBusErrorCode errorCode, string message, Exception exception) { logger.LogWarning((int)errorCode, exception, message); }
internal static void Warn(this ILogger logger, OrleansServiceBusErrorCode errorCode, string format, params object[] args) { logger.LogWarning((int)errorCode, format, args); }