Categories DirectiveDescriptionThe logging channels used by a component may be parameterized using a categories directive. Each category with a categories directive enables customization of the priority and targets of logging channels used by the component. Attributes
Nested Elements
Sample XML<!-- Create a component with a logging channel priority of INFO. Set the subsidiary channel for tutorial.data to a priority of DEBUG and the tutorial.data.model channel to a ERROR priority. --> <component name="tutorial"> <categories priority="INFO"> <category name="/data" priority="DEBUG"/> <category name="/data/model" priority="ERROR"/> </categories> </component> |