```//创建Log4J实例Log4JLog4J=Log4j.CreateLogGrid("/myhost.aspx")log4j.Logger.Log4jFile(Log4J.LoggerId.GetLogFileName())Log4j.Logger.Logging.Logger_Logger("/myhost.aspx")Log4j.Logger.LoggerId_Logger("/myhost.aspx")```
//创建日志记录对象Log4j.Logger.Logger_Logger("/myhost.aspx")Log4j.Logger.Logger1_Logger("/myhost.aspx")Log4j.Logger.Logger1.Logger1("/myhost.aspx")Log4j.Logger2_Logger("/myhost.aspx")Log4j.Logger2.Logger2("/myhost.aspx")Log4j.Logger3_Logger("/myhost.aspx")Log4j.Logger3.Logger3("/myhost.aspx")Log4j.Logger4_Logger("/myhost.aspx")Log4j.Logger4.Logger4("/myhost.aspx")Log4j.Logger5_Logger("/myhost.aspx")Log4j.Logger5.Logger5("/myhost.aspx")Log4j.Logger5.Logger5("/myhost.aspx")Log4j.Logger6_Logger("/myhost.aspx")Log4j.Logger6.Logger6("/myhost.aspx")Log4j.Logger6.Logger6("/myhost.aspx")Log4j.Logger7_Logger("/myhost.aspx")Log4j.Logger7.Logger7("/myhost.aspx")Log4j.Logger7.Logger7("/myhost.aspx")Log4j.Logger8_Logger("/myhost.aspx")Log4j.Logger8.Logger8("/myhost.aspx")Log4j.Logger8.Logger8("/myhost.aspx")Log4j.Logger9_Logger("/myhost.aspx")Log4j.Logger9.Logger9("/myhost.aspx")Log4j.Logger9.Logger9("/myhost.aspx")Log4j.Logger10_Logger("/myhost.aspx")```