using System;
namespace WPFMediaKit;
///
/// Log manager for the WPF-MediaKit. Set to change the logging.
///
public static class LogManager
{
///
/// Main func to get an for the provided logger name. Default is set to .
///
/// May be changed by the user code. Set to to switch off the logging.
///
///
public static Func LoggerFunc = name => new DebugTraceLog(name);
///
/// Returns an for the provided logger name.
///
public static ILog GetLogger(string name)
=> LoggerFunc(name);
///
/// Retuns an for the provided logger name.
///
public static ILog GetLogger(Type type)
=> LoggerFunc(type.FullName);
}