Enabling Nabiro Trace Log
This article describes how to enable the trace log for Nabiro.*
To add trace support for Nabiro you have to add a valid target to the Flex Log class. The category of Nabiro log is: "nabiro". To see the Nabiro trace be sure that you set the filters of a target that you use to "*" (all) or "nabiro".
Here is the example of using TraceTarget? to see Nabiro log:
var traceLog:TraceTarget = new TraceTarget(); traceLog.filters = ["nabiro"]; traceLog.level = LogEventLevel.ALL; traceLog.includeDate = true; traceLog.includeTime = true; traceLog.includeCategory = true; traceLog.includeLevel = true; traceLog.fieldSeparator = "|"; Log.addTarget(traceLog);
Note that the example above will show logs only from "nabiro" category. To disable the trace of Nabiro classes, one could do following: traceLog.filters = ["com.gnstudio.*"]; This way we ensure that the "nabiro" category is not displayed. If filters array is null or [] the filters are set to the default of ["*"] (in this case the Nabiro trace will be displayed).
*This works only with Nabiro RC 2.0