コード例 #1
0
    public static AppMsg TracePerf(OpTime timing, int?labelPad = null)
    {
        var msg = appMsg(timing.Format(labelPad), SeverityLevel.Benchmark);

        print(msg);
        return(msg);
    }
コード例 #2
0
 /// <summary>
 /// Prints an operation timing message to the console
 /// </summary>
 /// <param name="time">The operation timing</param>
 /// <param name="labelPad">Option label pad width</param>
 public static void print(OpTime time, int?labelPad = null)
 => print(AppMsg.Define(time.Format(labelPad), SeverityLevel.Benchmark));