XML
///A logging element declares the top level defaults for priority and target name, a set of
/// targets to which logging events shall be directed.
/// The logging element declares the application wide default logging priority.
/// A target element enables defintion of a logging file to which log entries will
/// be directed. The target name attribute is the name referenced by category elements
/// defined within the loggers element. The priority attribute may container one of the values
/// DEBUG
, INFO
, WARN
or ERROR
.
/// The target must contain a single file element with the attribute location
/// the corresponds to the name of the logging file.
/// <!-- /// Definition of a logging system. /// --> /// /// <logging name="" priority="INFO" target="kernel"> /// <category name="logging" priority="WARN"/> /// <target name="kernel"> /// <file location="kernel.log" /> /// </target> /// </logging> ////// ///