Example #1
0
        public CommonLogger()
        {
            var appConfigurator  = AppConfigurator.GetAppConfigurator();
            var logConfiguration = appConfigurator.Of <LogConfiguration>();

            FileLog = FileLogProvider.GetFileLog(logConfiguration);
        }
        public FileLoggerProvider(LogConfiguration logConfiguration)
        {
            _logConfiguration = logConfiguration;

            _fileLog = FileLogProvider.GetFileLog(logConfiguration);
        }