public void Error(string message) { if (IsErrorEnabled) { underlying.Error(message); } }
public static void Error(this IGrinderLogger logger, Action <LogMessageHandler> messageCallback) { if (logger.IsErrorEnabled) { logger.Error(FormatMessage(messageCallback)); } }