示例#1
0
            public Log4NetCategoryBuilder(Log4NetBackend parent, ModuleDeclaration module, string categoryName)
            {
                this.parent = parent;
                this.module = module;

                this.loggerField = this.parent.loggingImplementation.GetCategoryField(categoryName, this.parent.loggerType, writer =>
                {
                    writer.EmitInstructionString(OpCodeNumber.Ldstr, categoryName);
                    writer.EmitInstructionMethod(OpCodeNumber.Call, this.parent.categoryInitializerMethod);
                });
            }
            public Log4NetCategoryBuilder(Log4NetBackend parent, string categoryName)
            {
                this.parent = parent;

                this.loggerField = this.parent.loggingImplementation.GetCategoryField(categoryName, this.parent.loggerType, writer =>
                {
                    writer.EmitInstructionString(OpCodeNumber.Ldstr, categoryName);
                    writer.EmitInstructionMethod(OpCodeNumber.Call, this.parent.categoryInitializerMethod);
                });
            }
 public Log4NetBackendInstance(Log4NetBackend parent)
 {
     this.parent = parent;
 }
 public Log4NetBackendInstance(Log4NetBackend parent)
 {
     this.parent = parent;
 }
示例#5
0
 public Log4NetBackendInstance(Log4NetBackend parent, ModuleDeclaration module)
 {
     this.parent = parent;
     this.module = module;
 }