Beispiel #1
0
        public void Log(string sawmillName, LogEvent message)
        {
            var valid = _sLogger.BindProperty(LogManager.SawmillProperty, sawmillName, false, out var sawmillProperty);

            if (valid)
            {
                message.AddOrUpdateProperty(sawmillProperty);
            }

            _sLogger.Write(message);
        }