Beispiel #1
0
        internal LoggerDataContainer(Logger logger)
        {
            if (logger == null)
            {
                throw new ArgumentNullException(nameof(logger));
            }

            _messages   = new List <LogMessage>();
            _exceptions = new List <Exception>();

            DateTimeCreated  = DateTime.UtcNow;
            FilesContainer   = new FilesContainer(logger);
            LoggerProperties = new LoggerProperties();
        }
Beispiel #2
0
        public void Dispose()
        {
            FilesContainer.Dispose();

            _disposed = true;
        }