logbox.system.logging

Class LogEvent

lucee.Component
    extended by logbox.system.logging.LogEvent

Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com --- This resembles a logging event within LogBox

Class Attributes:
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any category
          The category to log messages under.

    • access = public
    • returntype = any
    true false
    any extrainfo
          Any extra info to log.

    • access = public
    • returntype = any
    true false
    any message
          The message to log.

    • access = public
    • returntype = any
    true false
    any severity
          The severity to log with.

    • access = public
    • returntype = any
    true false
    any timestamp
          The timestamp of the log.

    • access = public
    • returntype = any
    true false
    Constructor Summary
    init(any message, any severity, [any extraInfo=''], [any category=''])
          Constructor.
    Method Summary
    string getCategory()
    string getExtrainfo()
    any getExtraInfoAsString()
         Get the extra info as a string representation.
    string getMessage()
    string getSeverity()
    string getTimestamp()
    any setCategory(any category)
    any setExtrainfo(any extrainfo)
    any setMessage(any message)
    any setSeverity(any severity)
    any setTimestamp(any timestamp)
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init(any message, any severity, [any extraInfo=''], [any category=''])

    Constructor

    Parameters:
    message - The message to log.
    severity - The severity level to log.
    extraInfo - Extra information to send to the loggers.
    category - The category to log this message under. By default it is blank.

    Property Detail

    category

    property any category

    The category to log messages under

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    extrainfo

    property any extrainfo

    Any extra info to log

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    message

    property any message

    The message to log

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    severity

    property any severity

    The severity to log with

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    timestamp

    property any timestamp

    The timestamp of the log

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    Method Detail

    getCategory

    public string getCategory()


    getExtrainfo

    public string getExtrainfo()


    getExtraInfoAsString

    public any getExtraInfoAsString()

    Get the extra info as a string representation


    getMessage

    public string getMessage()


    getSeverity

    public string getSeverity()


    getTimestamp

    public string getTimestamp()


    setCategory

    public any setCategory(any category)

    Parameters:
    category

    setExtrainfo

    public any setExtrainfo(any extrainfo)

    Parameters:
    extrainfo

    setMessage

    public any setMessage(any message)

    Parameters:
    message

    setSeverity

    public any setSeverity(any severity)

    Parameters:
    severity

    setTimestamp

    public any setTimestamp(any timestamp)

    Parameters:
    timestamp