Ema*_*shi 6

检查这个库,它基于NLog:

https://github.com/mbrit/metrolog


Nic*_*nks 5

我唯一能找到的(System.Diagnostics.Debug.WriteLine()):

    //
    // Summary:
    //     Writes a message followed by a line terminator to the trace listeners in
    //     the System.Diagnostics.Debug.Listeners collection.
    //
    // Parameters:
    //   message:
    //     A message to write.
    [Conditional("DEBUG")]
    public static void WriteLine(string message);
Run Code Online (Sandbox Code Playgroud)

它写入Visual Studio输出窗口的调试输出.