示例#1
0
 /// <summary>
 /// Logs a message as information if <see cref="LogLevel"/> is lower or equal to <see cref="Nuke.Common.LogLevel.Information"/>.
 /// </summary>
 public static void Info(string text = null)
 {
     if (LogLevel <= LogLevel.Information)
     {
         OutputSink.Info(text ?? string.Empty);
     }
 }
示例#2
0
 public void Info(string text)
 {
     _outputSink.Info(text);
 }