コード例 #1
0
ファイル: LogConfig.cs プロジェクト: kbabiy/LogCast
        /// <summary>
        /// Use this method to disable the logging subsystem
        /// Can be called only once per process lifetime.
        /// </summary>
        public static void ConfigureAsDisabled()
        {
            CheckConfigured();

            _current = InitEmptyConfig();
        }
コード例 #2
0
ファイル: LogConfig.cs プロジェクト: kbabiy/LogCast
 /// <summary>
 /// Resets existing configuration of the logging subsystem (in case you need reconfigure it)
 /// </summary>
 public static void Reset()
 {
     _current = null;
 }