﻿namespace MvvmFx.CaliburnMicro
{
    using System;

    /// <summary>
    /// Used to manage logging.
    /// </summary>
    public static class LogManager
    {
        private static readonly Logging.ILog NullLogInstance = new Logging.NullLogger();

        /// <summary>
        /// Creates an <see cref="Logging.ILog"/> for the provided type.
        /// </summary>
        public static Func<Type, Logging.ILog> GetLog = type => NullLogInstance;
    }
}
﻿namespace MvvmFx.CaliburnMicro
{
    using System;

    /// <summary>
    /// Used to manage logging.
    /// </summary>
    public static class LogManager
    {
        private static readonly Logging.ILog NullLogInstance = new Logging.NullLogger();

#pragma warning disable CS3003 // Type is not CLS-compliant
        /// <summary>
        /// Creates an <see cref="Logging.ILog"/> for the provided type.
        /// </summary>
        public static Func<Type, Logging.ILog> GetLog = type => NullLogInstance;
#pragma warning restore CS3003 // Type is not CLS-compliant
    }
}
Disable warning "Type is not CLS-compliant"
Disable warning "Type is not CLS-compliant"
