public static ILogger Logger(this object it) { if (it == null) { return(NullLogger.nullLogger); } return(LogManagerRegistry.GetInstance().RetriveLoggerByType(it.GetType())); }
public static ILogger Logger(this Type type) { return(LogManagerRegistry.GetInstance().RetriveLoggerByType(type)); }
public static ILogger LoggerNamed(this object it, string name) { return(LogManagerRegistry.GetInstance().RetriveLoggerByName(name)); }
public static ILogger Logger <T>() { return(LogManagerRegistry.GetInstance().RetriveLoggerByType(typeof(T))); }