Exemple #1
0
            internal LoggerProxy(LoggerFactoryProxy factoryProxy, string name)
            {
                factoryProxy.ThrowIfNull("factoryProxy");

                this.factoryProxy = factoryProxy;
                this.name = name ?? string.Empty;
            }
Exemple #2
0
            public LoggerProxy(LoggerFactoryProxy factoryProxy, Type typeForLogger)
            {
                factoryProxy.ThrowIfNull("factoryProxy");
                typeForLogger.ThrowIfNull("typeForLogger");

                this.factoryProxy = factoryProxy;
                this.name = typeForLogger.AssemblyQualifiedName;
            }