Пример #1
0
            public override void outputFileCreated(Stream newStream)
            {
                FormattedLogProvider logProvider = _internalLogBuilder.toOutputStream(newStream);

                logProvider.GetLog(typeof(StoreLogService)).info("Opened new internal log file");
                _rotationListener(logProvider);
            }
Пример #2
0
            public override void rotationError(Exception e, Stream outStream)
            {
                FormattedLogProvider logProvider = _internalLogBuilder.toOutputStream(outStream);

                logProvider.GetLog(typeof(StoreLogService)).info("Rotation of internal log file failed:", e);
            }
Пример #3
0
            public override void rotationCompleted(Stream newStream)
            {
                FormattedLogProvider logProvider = _internalLogBuilder.toOutputStream(newStream);

                logProvider.GetLog(typeof(StoreLogService)).info("Rotated internal log file");
            }