Пример #1
0
        /// <summary>
        /// Initializes logging
        /// </summary>
        private void InitializeDiagnostics()
        {
            if (this.logInitialized)
            {
                return;
            }

            this.logger = new SimpleLogger(LinuxCopKey);
            this.logInitialized = true;
        }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CompactNHunspell.NHunspellWrapper"/> class.
 /// <remarks>Load must be called when using this constructor</remarks>
 /// </summary>
 public NHunspellWrapper()
 {
     this.logger = new SimpleLogger(SettingsKey);
 }