logbox.system.logging

Class LogLevels

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

Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com --- The different logging levels available in LogBox. Log levels available in the this scope: OFF=-1, FATAL=0, ERROR=1, WARN=2, INFO=3, DEBUG=4

Class Attributes:
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
  • author : Luis Majano
  •  
    Method Summary
    any isLevelValid(any level)
         Verifies if a level is valid or not.
    any lookup(any level)
         Lookup a level in our numeric enum, else it returns void.
    any lookupAsInt(any level)
         Lookup level in numeric format from a string.
    any lookupCF(any level)
         Lookup a CF level using a number.
     
    Methods inherited from class lucee.Component
    None

    Method Detail

    isLevelValid

    public any isLevelValid(any level)

    Verifies if a level is valid or not

    Parameters:
    level - numeric level

    lookup

    public any lookup(any level)

    Lookup a level in our numeric enum, else it returns void.

    Parameters:
    level - The numeric level

    lookupAsInt

    public any lookupAsInt(any level)

    Lookup level in numeric format from a string. If not found a 999 is returned

    Parameters:
    level - The string level

    lookupCF

    public any lookupCF(any level)

    Lookup a CF level using a number

    Parameters:
    level - Numeric level