Located in File: Program_Root/LoggerCategory.php
$Revision: 1.3 $Marco Vassura| Class Variable Summary |
$aai
Default Value:
|
$additive
Default Value:
|
$fqcn
Default Value:
|
$level
Default Value:
|
$name
Default Value:
|
$parent
Default Value:
|
$repository
Default Value:
|
| Inherited Class Variable Summary |
| Method Summary |
void constructor LoggerCategory ( $name )
Constructor. |
void addAppender ( &$newAppender )
Add newAppender to the list of appenders of this Category instance. |
void assertLog ( [$assertion = true], [$msg = ''] )
If assertion parameter is false, then logs msg as an error statement. |
void callAppenders ( $event )
Call the appenders in the hierrachy starting at this. |
void debug ( $message, [$caller = null] )
Log a message object with the DEBUG level including the caller. |
void error ( $message, [$caller = null] )
Log a message object with the LOGGER_LEVEL_ERROR level including the caller. |
void exists ( $name )
Deprecated. |
void fatal ( $message, [$caller = null] )
Log a message object with the LOGGER_LEVEL_FATAL level including the caller. |
void forcedLog ( $caller, $level, $message )
This method creates a new logging event and logs the event without further checks. |
void getAdditivity ( )
Get the additivity flag for this Category instance. |
array getAllAppenders ( )
Get the appenders contained in this category as an Enumeration. |
object &getAppender ( $name )
Look for the appender named as name. |
void getChainedPriority ( )
Please use the the getEffectiveLevel() method instead. |
void getCurrentCategories ( )
Please use LogManager::getCurrentLoggers() instead. |
void getDefaultHierarchy ( )
Please use LogManager::getLoggerRepository() instead. |
void getEffectiveLevel ( )
Starting from this category, search the category hierarchy for a non-null level and return it. |
void &getHierarchy ( )
Please use getLoggerRepository() instead. |
void &getInstance ( $name )
Retrieve a category with named as the name parameter. |
void getLevel ( )
Returns the assigned Level, if any, for this Category. |
void &getLoggerRepository ( )
Return the the LoggerRepository where this Category is attached. |
void getName ( )
Return the category name. |
void &getParent ( )
Returns the parent of this category. |
void getPriority ( )
|
void getResourceBundle ( )
Return the inherited ResourceBundle for this category. |
void getResourceBundleString ( $key )
Returns the string resource coresponding to key in this category's inherited resource bundle. |
void &getRoot ( )
Return the root of the default category hierrachy. |
void info ( $message, [$caller = null] )
Log a message object with the LOGGER_LEVEL_INFO Level. |
void isAttached ( $appender )
Is the appender passed as parameter attached to this category? |
void isDebugEnabled ( )
Check whether this category is enabled for the LOGGER_LEVEL_DEBUG Level. |
void isEnabledFor ( $level )
Check whether this category is enabled for a given Level passed as parameter. |
void isInfoEnabled ( )
Check whether this category is enabled for the info Level. |
void l7dlog ( $priority, $key, $params, $t )
Log a localized and parameterized message. |
void log ( $priority, $message, [$caller = null] )
This generic form is intended to be used by wrappers. |
void removeAllAppenders ( )
Remove all previously added appenders from this Category instance. |
void removeAppender ( $appender )
Remove the appender passed as parameter form the list of appenders. |
void setAdditivity ( $additive )
Set the additivity flag for this Category instance. |
void setLevel ( $level )
Set the level of this Category. |
void setPriority ( $priority )
|
void setResourceBundle ( $bundle )
Set the resource bundle to be used with localized logging methods |
void shutdown ( )
|
void warn ( $message, [$caller = null] )
Log a message with the LOGGER_LEVEL_WARN level. |
| Inherited Method Summary |
| Method Detail |
void LoggerCategory( string $name)
Constructor.- string $name: Category name[ Top ]
void addAppender( mixed &$newAppender, object $newAppender)
Add newAppender to the list of appenders of this Category instance.- object $newAppender: Appender ObjectLoggerAppender[ Top ]
void assertLog( [bool $assertion = true], [string $msg = ''])
If assertion parameter is false, then logs msg as an error statement.- bool $assertion: - string $msg: message to log[ Top ]
void callAppenders( object $event)
Call the appenders in the hierrachy starting at this.- object $event: LoggerEventLoggerEvent[ Top ]
void debug( string $message, [mixed $caller = null])
Log a message object with the DEBUG level including the caller.- string $message: message- mixed $caller: caller object or caller string id[ Top ]
void error( string $message, [mixed $caller = null])
Log a message object with the LOGGER_LEVEL_ERROR level including the caller.- string $message: message- mixed $caller: caller object or caller string id[ Top ]
void exists( string $name)
Deprecated.Please use LoggerManager::exists() instead.
- string $name: LoggerManager::exists()[ Top ]
void fatal( string $message, [mixed $caller = null])
Log a message object with the LOGGER_LEVEL_FATAL level including the caller.- string $message: message- mixed $caller: caller object or caller string id[ Top ]
void forcedLog( mixed $caller, integer $level, string $message)
This method creates a new logging event and logs the event without further checks.- mixed $caller: caller object or caller string id- integer $level: log level- string $message: messageLoggerEvent[ Top ]
void getAdditivity( )
Get the additivity flag for this Category instance.[ Top ]
array getAllAppenders( )
Get the appenders contained in this category as an Enumeration.collection of appenders[ Top ]
object &getAppender( mixed $name)
Look for the appender named as name.LoggerAppender[ Top ]
void getChainedPriority( )
Please use the the getEffectiveLevel() method instead.[ Top ]
void getCurrentCategories( )
Please use LogManager::getCurrentLoggers() instead.[ Top ]
void getDefaultHierarchy( )
Please use LogManager::getLoggerRepository() instead.[ Top ]
void getEffectiveLevel( )
Starting from this category, search the category hierarchy for a non-null level and return it.[ Top ]
void &getHierarchy( )
Please use getLoggerRepository() instead.[ Top ]
void &getInstance( mixed $name)
Retrieve a category with named as the name parameter.[ Top ]
void getLevel( )
Returns the assigned Level, if any, for this Category.[ Top ]
void &getLoggerRepository( )
Return the the LoggerRepository where this Category is attached.[ Top ]
void getName( )
Return the category name.[ Top ]
void &getParent( )
Returns the parent of this category.[ Top ]
void getPriority( )
Please use getLevel() instead.[ Top ]
void getResourceBundle( )
Return the inherited ResourceBundle for this category.[ Top ]
void getResourceBundleString( mixed $key)
Returns the string resource coresponding to key in this category's inherited resource bundle.[ Top ]
void &getRoot( )
Return the root of the default category hierrachy.[ Top ]
void info( string $message, [mixed $caller = null])
Log a message object with the LOGGER_LEVEL_INFO Level.- string $message: message- mixed $caller: caller object or caller string id[ Top ]
void isAttached( object $appender)
Is the appender passed as parameter attached to this category?- object $appender: appender to test[ Top ]
void isDebugEnabled( )
Check whether this category is enabled for the LOGGER_LEVEL_DEBUG Level.[ Top ]
void isEnabledFor( integer $level)
Check whether this category is enabled for a given Level passed as parameter.- integer $level: levelLoggerLevel[ Top ]
void isInfoEnabled( )
Check whether this category is enabled for the info Level.[ Top ]
void l7dlog( mixed $priority, mixed $key, mixed $params, mixed $t)
Log a localized and parameterized message.[ Top ]
void log( integer $priority, string $message, [mixed $caller = null])
This generic form is intended to be used by wrappers.- integer $priority: log with this level- string $message: message- mixed $caller: caller object or caller string id[ Top ]
void removeAllAppenders( )
Remove all previously added appenders from this Category instance.[ Top ]
void removeAppender( mixed $appender)
Remove the appender passed as parameter form the list of appenders.- mixed $appender: can be an appender name or a LoggerAppender object[ Top ]
void setAdditivity( boolean $additive)
Set the additivity flag for this Category instance.- boolean $additive: [ Top ]
void setLevel( integer $level)
Set the level of this Category.- integer $level: [ Top ]
void setPriority( mixed $priority)
LoggerCategory::setLevel()Please use setLevel($Level) instead.[ Top ]
void setResourceBundle( mixed $bundle)
Set the resource bundle to be used with localized logging methods[ Top ]
void shutdown( )
LoggerManager::shutdown()use LoggerManager::shutdown() instead.[ Top ]
void warn( string $message, [mixed $caller = null])
Log a message with the LOGGER_LEVEL_WARN level.- string $message: message- mixed $caller: caller object or caller string id[ Top ]
| Variable Detail |
collection of appendersLoggerAppender[ Top ]
Additivity is set to true by default, that is children inherit the appenders of their ancestors by default.[ Top ]
fully qualified class name[ Top ]
The assigned level of this category.[ Top ]
name of this category.[ Top ]
parent of this category.Logger[ Top ]
object repositoryLoggerHierarchy[ Top ]