LogN is a mask-based logger for Java. Instead of acquiring multiple loggers based on a class
name or other string, log entries are created with a string, and appenders are then given the
messages based on whether the message matches an appender's mask.
Configuration is accomplished with XML, via a file called logn.xml, which should exist
somwhere in the classpath. logn.xml has the following structure:
ln2
packages
package - the contents of this node are used to specify a package.
When the configuration loads an appender, these packages will be prepended to the classname
until a valid class is found.
jmx
appenders
appender - This node has two required attributes.
class
This is the class of the Appender. If the configuration can't find this class directly
by name, the packages (from the package node) are tried, in order.
name
This is the name of the appender. Categories use this name to connect a logging mask
to a specific appender.
property
name
This is the name of a JavaBeans-compatible property in the appender.
value
This is the value to be stored in the property.
categories
category
mask
This attribute is a LogN mask, as a string. Sections are separated by periods (".") and contain
either strings or wildcards. Wildcards follow a simple specification: "*" matches anything
up to a separator; "**" matches multiple sections.
appender
This is the name of the appender. Categories use this name to connect a logging mask
to a specific appender.