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