Mycroft.Logger.Close C# (CSharp) Method

Close() public method

Close the underlying connection write stream.
public Close ( ) : bool
return bool
        public bool Close()
        {
            try
            {
                lock (WriteLock)
                {
                    os.Flush();
                    os.Close();
                }
            }
            catch
            {
               // return false;
            }
            return true;
        }