private FileLogWriter ( string filePath ) : System | ||
filePath | string | |
return | System |
private FileLogWriter(string filePath) {
_filePath = filePath;
_messages = new ActionBlock<string>(new Func<string, Task>(WriteToFile));
AppDomain.CurrentDomain.ProcessExit += OnProcessExit;
AppDomain.CurrentDomain.UnhandledException += OnUnhandledException;
}