"In the future there will be two ways to configure the logging framework: XML and programmatic configuration. But since XML configuration will be integrated into the configuration framework / IOC container of Parsley and Parsley has not been released yet, we are left with programmatic configuration for now."
Remove linenumbers from this text.
"1 var factory:LogFactory = new DefaultLogFactory();
2 factory.setRootLogLevel(LogLevel.WARN);
3 factory.addLogLevel("com.mycompany.mypackage.controller", LogLevel.DEBUG);
4 factory.addLogLevel("com.mycompany.mypackage.services", LogLevel.DEBUG);
5 var traceApp:Appender = new TraceAppender();
6 traceApp.threshold = LogLevel.TRACE;
7 factory.addAppender(traceApp);
8 LogContext.factory = factory;"
Nico Zimmermann - 11/Mar/08 04:43 PM Correct this Text... it is already integrated.
"In the future there will be two ways to configure the logging framework: XML and programmatic configuration. But since XML configuration will be integrated into the configuration framework / IOC container of Parsley and Parsley has not been released yet, we are left with programmatic configuration for now."
Remove linenumbers from this text.
"1 var factory:LogFactory = new DefaultLogFactory();
2 factory.setRootLogLevel(LogLevel.WARN);
3 factory.addLogLevel("com.mycompany.mypackage.controller", LogLevel.DEBUG);
4 factory.addLogLevel("com.mycompany.mypackage.services", LogLevel.DEBUG);
5 var traceApp:Appender = new TraceAppender();
6 traceApp.threshold = LogLevel.TRACE;
7 factory.addAppender(traceApp);
8 LogContext.factory = factory;"
"In the future there will be two ways to configure the logging framework: XML and programmatic configuration. But since XML configuration will be integrated into the configuration framework / IOC container of Parsley and Parsley has not been released yet, we are left with programmatic configuration for now."
Remove linenumbers from this text.
"1 var factory:LogFactory = new DefaultLogFactory();
2 factory.setRootLogLevel(LogLevel.WARN);
3 factory.addLogLevel("com.mycompany.mypackage.controller", LogLevel.DEBUG);
4 factory.addLogLevel("com.mycompany.mypackage.services", LogLevel.DEBUG);
5 var traceApp:Appender = new TraceAppender();
6 traceApp.threshold = LogLevel.TRACE;
7 factory.addAppender(traceApp);
8 LogContext.factory = factory;"