Modules
| optivo.common.log4lua.appenders.console | Console appender. |
| optivo.common.log4lua.appenders.file | File appender.Log rotationOptionally the appender can be created with a date pattern to enable log file rotation. |
| optivo.common.log4lua.appenders.smtp | SMTP appender sending the log messages as an email. This appender requires LuaSocket. |
| optivo.common.log4lua.logger | Logging facility. A logger consists of a category (to distinct different modules etc.) and an appender which actually writes the message (to console, file etc.) ConfigurationA sample configuration file looks like this: local logger = require("optivo.common.log4lua.logger")Then you can load this configuration file "by hand" calling loadConfig(fileName) or you can set a default configuration file using the environment variable LOG4LUA_CONFIG_FILE. |