lucee.Component
wirebox.system.logging.AbstractAppender
commandbox.system.wirebox.system.logging.appenders.EmailAppender
Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com --- An appender that sends out emails Properties: - subject - Get's pre-pended with the category field. - from - required - to - required can be a ; list of emails - cc - bcc - mailserver (optional) - mailpassword (optional) - mailusername (optional) - mailport (optional - 25)
| Constructor Summary | |
|---|---|
|
init(any name, [struct properties='[runtime expression]'], [any layout=''], [any levelMin='0'], [any levelMax='4'])
Constructor. |
|
| Method Summary | |
|---|---|
any
|
logMessage(wirebox.system.logging.LogEvent logEvent)
Write an entry into the appender. |
| Methods inherited from class wirebox.system.logging.AbstractAppender |
|---|
| $log, canLog, getColdbox, getCustomLayout, getHash, getInitialized, getLevelMax, getLevelMin, getName, getProperties, getProperty, getUtil, hasCustomLayout, isInitialized, onRegistration, onUnRegistration, out, propertyExists, setColdbox, setCustomLayout, setInitialized, setLevelMax, setLevelMin, setName, setProperties, setProperty, severityToString |
| Methods inherited from class lucee.Component |
|---|
| None |
| Constructor Detail |
|---|
Constructor
name - The unique name for this appender.properties - A map of configuration properties for the appender"layout - The layout class to use in this appender for custom message rendering.levelMin - The default log level for this appender, by default it is 0. Optional. ex: LogBox.logLevels.WARNlevelMax - The default log level for this appender, by default it is 5. Optional. ex: LogBox.logLevels.WARN| Method Detail |
|---|
Write an entry into the appender. You must implement this method yourself.
logMessage
in class
wirebox.system.logging.AbstractAppender
logEvent - The logging event to log