コード例 #1
0
        public static LoggingFacade GetInstance()
        {
            if (instance == null)
            {
                instance            = new LoggingFacade();
                instance._itemsLock = new object();
            }

            return(instance);
        }
コード例 #2
0
 public void Clean()
 {
     this.ClearLogs();
     instance = null;
 }