<log> write information to the log

name
log
xml namespace
http://moyaproject.com

Write text to the logs. Every line of text can have a level which indicates how significant the message is. Log levels can be filtered, so you only see relevant messages.

You can control which log messages are written via logging.ini.

Example

<log level="debug">This may help you track down errors</log>
<log>Something worth knowing happened</log> <!-- default log level is "info" -->
<log level="warning">Pay attention, this may be significant</log>
<log level="error">Something quite alarming happened</log>
<log level="fatal">Absolute disaster</log>
attributes
name purpose type required? default choices
level Logging level text No debug
error
fatal
info
warn
warning
logger Logger to write to text No
inherited attributes
name purpose type required? default choices
if Conditional expression expression No yes