CK.Monitoring.GrandOutputHandlers.TextFile.Close C# (CSharp) Method

Close() public method

Closes the file if it is opened.
public Close ( IActivityMonitor m ) : void
m IActivityMonitor The monitor to use to track activity.
return void
        public override void Close( IActivityMonitor m )
        {
            m.SendLine( LogLevel.Info, string.Format( "Closing file for TextFile handler '{0}'.", Name ), null );
            _file.Close();
        }