coldbox.system.logging

Class LogEvent

railo-context.Component
        extended by coldbox.system.logging.LogEvent
Class Attributes:
  • output : false
  •  
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  

    Resembles a logging event within logBox.

    Constructor Summary
    init(any message, any<numeric> severity, [any extraInfo=''], [any category=''])
          Constructor.
    Method Summary
    any getCategory()
         Get the category of this log.
    any getExtraInfo()
         Get the extra info param.
    any getExtraInfoAsString()
         Get the extra info as a string representation.
    any getMessage()
         Get the message to log.
    any<numeric> getSeverity()
         Get the severity to log.
    any getTimestamp()
         Get the timestamp.
    void setCategory(any category)
         Set the category.
    void setExtraInfo(any extraInfo)
         Set the extra info param.
    void setMessage(any message)
         Set the message to log.
    void setSeverity(any severity)
         Set the severity to log.
    void setTimestamp(any timestamp)
         Set the timestamp.
     
    Methods inherited from class railo-context.Component
    None

    Constructor Detail

    init

    public init(any message, any<numeric> 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.

    Method Detail

    getCategory

    public any getCategory()

    Get the category of this log


    getExtraInfo

    public any getExtraInfo()

    Get the extra info param


    getExtraInfoAsString

    public any getExtraInfoAsString()

    Get the extra info as a string representation


    getMessage

    public any getMessage()

    Get the message to log


    getSeverity

    public any<numeric> getSeverity()

    Get the severity to log


    getTimestamp

    public any getTimestamp()

    Get the timestamp


    setCategory

    public void setCategory(any category)

    Set the category

    Parameters:
    category

    setExtraInfo

    public void setExtraInfo(any extraInfo)

    Set the extra info param

    Parameters:
    extraInfo

    setMessage

    public void setMessage(any message)

    Set the message to log

    Parameters:
    message

    setSeverity

    public void setSeverity(any severity)

    Set the severity to log

    Parameters:
    severity

    setTimestamp

    public void setTimestamp(any timestamp)

    Set the timestamp

    Parameters:
    timestamp