/// <inheritdoc />
 public void Write(string message, Type type, LogLevel logLevel)
 {
     using (_inner.BeginScope(type.ToString()))
     {
         _inner.Log(_mappingsDictionary[logLevel], message);
     }
 }
Example #2
0
 /// <inheritdoc />
 public void Write(string message, Type type, LogLevel logLevel)
 {
     using (_inner.BeginScope(type.ToString()))
     {
         _inner.Log(MsLoggingHelpers.Splat2MsLogDictionary[logLevel], message);
     }
 }
Example #3
0
        /// <inheritdoc />
        public void Write(string message, Type type, LogLevel logLevel)
        {
            if (type is null)
            {
                throw new ArgumentNullException(nameof(type));
            }

            using (_inner.BeginScope(type.ToString()))
            {
                _inner.Log(MsLoggingHelpers.Splat2MsLogDictionary[logLevel], message);
            }
        }