commandbox.system.util

Class ANSIConsoleAppender

lucee.Component
    extended by wirebox.system.logging.AbstractAppender
      extended by commandbox.system.util.ANSIConsoleAppender

Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.coldbox.org | www.luismajano.com | www.ortussolutions.com Author : Brad Wood, Luis Majano Date : 07/22/2014 Description : A logger for outputting ANSI-formmatted text to the console for use with CommandBox. Properties: - none

Class Attributes:
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Constructor Summary
    init(any name, [any properties='[runtime expression]'], [any layout], [any levelMin='0'], [any leveMax='4'])
    Method Summary
    any job()
    any logMessage(any logEvent)
    any print()
     
    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

    init

    public init(any name, [any properties='[runtime expression]'], [any layout], [any levelMin='0'], [any leveMax='4'])

    Parameters:
    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.WARN
    leveMax

    Method Detail

    job

    public any job()


    logMessage

    public any logMessage(any logEvent)

    Overrides:
    logMessage in class wirebox.system.logging.AbstractAppender
    Parameters:
    logEvent

    print

    public any print()