-
$categoryPrefixing
-
-
$className
-
-
$closed
-
-
$contextPrinting
-
-
$createTable
-
Create the log table if it does not exists (optional).
-
callAppenders
-
Call the appenders in the hierarchy starting at this.
-
CATEGORY_PREFIX
-
-
CDATA_EMBEDDED_END
-
-
CDATA_END
-
-
CDATA_PSEUDO_END
-
-
CDATA_START
-
-
CLASS_LOCATION_CONVERTER
-
-
clear
-
Clear any nested diagnostic information if any. This method is useful in cases where the same thread can be potentially used over and over in different unrelated contexts.
-
clear
-
This call will clear all logger definitions from the internal hashtable.
-
clear
-
Clears all logger definitions
-
clear
-
-
clearFilters
-
Clear the list of filters by removing all the filters in it.
-
close
-
-
close
-
-
close
-
-
close
-
-
close
-
-
close
-
Release any resources allocated.
-
close
-
-
close
-
-
close
-
-
close
-
-
close
-
Closes the connection to the logging database
-
close
-
-
CONFIGURATOR_INHERITED
-
Special level value signifying inherited behaviour. The current value of this string constant is inherited.
-
CONFIGURATOR_NULL
-
Special level signifying inherited behaviour, same as CONFIGURATOR_INHERITED.
-
configure
-
-
configure
-
Read configuration from a file.
-
configure
-
Interpret a resource pointed by a url and configure accordingly.
-
configure
-
Configures Log4PHP.
-
configure
-
-
configure
-
Configure the default repository using the resource pointed by url.
-
convert
-
Derived pattern converters must override this method in order to convert conversion specifiers in the correct way.
-
convert
-
-
convert
-
-
convert
-
-
convert
-
-
convert
-
-
convert
-
-
CONVERTER_STATE
-
-
createObject
-
Creates an instances from the given class name.
-
get
-
Get the context identified by the key parameter.
-
get
-
-
getAdditivity
-
Get the additivity flag for this Category instance.
-
getAllAppenders
-
Get the appenders contained in this category as an array.
-
getAppend
-
-
getAppender
-
Look for the appender named as name.
-
getAppenderFromPool
-
-
getByClassName
-
Search the parents of clazz for a renderer.
-
getByObject
-
-
getCategoryPrefixing
-
-
getChainedLevel
-
-
getClassName
-
-
getConfigurationClass
-
Returns the current configurator
-
getConfigurationFile
-
Returns the current configuration file
-
getContentType
-
Returns the content type output by this layout.
-
getContentType
-
-
getContextPrinting
-
-
getCreateTable
-
-
getCurrentLoggers
-
Returns an array this whole Logger instances.
-
getCurrentLoggers
-
Returns all the currently defined categories in this hierarchy as an array.
-
getDatabase
-
-
getDatabaseHandle
-
Sometimes databases allow only one connection to themselves in one thread.
-
getDateFormat
-
-
getDatePattern
-
-
getDepth
-
Get the current nesting depth of this diagnostic context.
-
getEffectiveLevel
-
Starting from this category, search the category hierarchy for a non-null level and return it.
-
getFile
-
-
getFileName
-
Return the file name of the caller.
-
getFileName
-
-
getFilter
-
Return the first filter in the filter chain for this Appender.
-
getFirstFilter
-
Return the first filter in the filter chain for this Appender.
-
getFooter
-
-
getFooter
-
-
getFooter
-
Returns the footer for the layout format.
-
getFullInfo
-
Returns the full information of the caller.
-
getFullyQualifiedName
-
-
getFullyQualifiedName
-
-
getFullyQualifiedName
-
-
getHeader
-
-
getHeader
-
-
getHeader
-
Returns the header for the layout format.
-
getHierarchy
-
Returns the hierarchy used by this Logger.
-
getHost
-
-
getHostname
-
-
getLayout
-
Returns this appender layout.
-
getLevel
-
Returns the assigned Level, if any, for this Category.
-
getLevel
-
Return the level of this event. Use this form instead of directly accessing the $level field.
-
getLevelAll
-
Returns an All Level
-
getLevelDebug
-
Returns a Debug Level
-
getLevelError
-
Returns an Error Level
-
getLevelFatal
-
Returns a Fatal Level
-
getLevelInfo
-
Returns an Info Level
-
getLevelOff
-
Returns an Off Level
-
getLevelWarn
-
Returns a Warn Level
-
getLineNumber
-
Returns the line number of the caller.
-
getLocationInfo
-
Whether or not file name and line number will be included in the output.
-
getLocationInfo
-
Returns the current value of the LocationInfo option.
-
getLocationInfo
-
-
getLocationInformation
-
Set the location information for this logging event. The collected information is cached for future use.
-
getLog4jNamespace
-
-
getLog4jNamespace
-
-
getLogger
-
Return a new logger instance named as the first parameter using the default factory.
-
getLogger
-
Get a Logger by name (Delegate to
Logger)
-
getLoggerName
-
Return the name of the logger. Use this form instead of directly accessing the $categoryName field.
-
getMDC
-
Returns the the context corresponding to the
parameter.
-
getMessage
-
Return the message for this logging event.
-
getMethodName
-
Returns the method name of the caller.
-
getMicroSecondsPrinting
-
-
getName
-
Return the category name.
-
getName
-
Get the name of this appender.
-
getNDC
-
This method returns the NDC for this event. It will return the correct content even if the event was generated in a different thread or even on a different machine. The
LoggerNDC::get() method should
never be called directly.
-
getNext
-
Returns the next filter in this chain
-
getParent
-
Returns the parent of this category.
-
getPassword
-
-
getPort
-
-
getRemoteHost
-
-
getRenderedMessage
-
Render message.
-
getRendererMap
-
-
getRootLogger
-
get the Root Logger (Delegate to
Logger)
-
getRootLogger
-
-
getSql
-
-
getStartTime
-
Returns the time when the application started, in seconds elapsed since 01.01.1970 plus microseconds if available.
-
getSyslogEquivalent
-
Return the syslog equivalent of this priority as an integer.
-
getSystemProperty
-
Read a predefined var.
-
getTable
-
-
getThreadName
-
-
getThreadPrinting
-
-
getThreshold
-
Returns this appenders threshold level.
-
getThreshold
-
-
getThrowableInformation
-
-
getTime
-
Calculates the time of this event.
-
getTimeout
-
-
getTimeStamp
-
-
getTitle
-
-
getType
-
-
getUser
-
-
getUseXml
-
-
$layout
-
LoggerLayout for this appender. It can be null if appender has its own layout
-
$leftAlign
-
-
$leftAlign
-
-
$level
-
Level of logging event.
-
$lineNumber
-
-
LoggerAppenderAdodb.php
-
-
LoggerAppenderConsole.php
-
-
LoggerAppenderDailyFile.php
-
-
LoggerAppenderEcho.php
-
-
LoggerAppenderFile.php
-
-
LoggerAppenderMail.php
-
-
LoggerAppenderMailEvent.php
-
-
LoggerAppenderNull.php
-
-
LoggerAppenderPDO.php
-
-
LoggerAppenderPhp.php
-
-
LoggerAppenderRollingFile.php
-
-
LoggerAppenderSocket.php
-
-
LoggerAppenderSyslog.php
-
-
LoggerConfiguratorBasic.php
-
-
LoggerConfiguratorIni.php
-
-
LoggerConfiguratorPhp.php
-
-
LoggerConfiguratorXml.php
-
-
LoggerFilterDenyAll.php
-
-
LoggerFilterLevelMatch.php
-
-
LoggerFilterLevelRange.php
-
-
LoggerFilterStringMatch.php
-
-
LoggerBasicPatternConverter.php
-
-
LoggerCategoryPatternConverter.php
-
-
LoggerClassNamePatternConverter.php
-
-
LoggerDatePatternConverter.php
-
-
LoggerFormattingInfo.php
-
-
LoggerLiteralPatternConverter.php
-
-
LoggerLocationPatternConverter.php
-
-
LoggerMDCPatternConverter.php
-
-
LoggerNamedPatternConverter.php
-
-
LoggerOptionConverter.php
-
-
LoggerPatternConverter.php
-
-
LoggerPatternParser.php
-
-
LoggerLayoutHtml.php
-
-
LoggerLayoutPattern.php
-
-
LoggerLayoutSimple.php
-
-
LoggerLayoutTTCC.php
-
-
LoggerLayoutXml.php
-
-
LAYOUT_STATE
-
-
LEVEL_CONVERTER
-
-
LINE_LOCATION_CONVERTER
-
-
LITERAL_STATE
-
-
LOCATION_INFO_NA
-
When location information is not available the constant NA is returned. Current value of this string constant is ?.
-
log
-
This generic form is intended to be used by wrappers.
-
LOG4J_NS
-
-
LOG4J_NS_PREFIX
-
-
LOG4PHP_DIR
-
LOG4PHP_DIR points to the log4php root directory.
-
LOG4PHP_LOGGER_LAYOUT_NULL_DATE_FORMAT
-
String constant designating no time information. Current value of this constant is NULL.
-
LOG4PHP_LOGGER_LAYOUT_RELATIVE_TIME_DATE_FORMAT
-
String constant designating relative time. Current value of this constant is RELATIVE.
-
LOG4PHP_NS
-
-
LOG4PHP_NS_PREFIX
-
-
Logger
-
This is the central class in the log4j package. Most logging operations, except configuration, are done through this class.
-
Logger.php
-
-
LoggerAppender
-
Abstract class that defines output logs strategies.
-
LoggerAppender.php
-
-
LoggerAppenderAdodb
-
Appends log events to a db table using adodb class.
-
LoggerAppenderConsole
-
ConsoleAppender appends log events to STDOUT or STDERR.
-
LoggerAppenderDailyFile
-
An Appender that automatically creates a new logfile each day.
-
LoggerAppenderEcho
-
LoggerAppenderEcho uses
echo function to output events.
-
LoggerAppenderFile
-
FileAppender appends log events to a file.
-
LoggerAppenderMail
-
-
LoggerAppenderMailEvent
-
Log every events as a separate email.
-
LoggerAppenderNull
-
A NullAppender merely exists, it never outputs a message to any device.
-
LoggerAppenderPDO
-
Appends log events to a db table using PDO.
-
LoggerAppenderPhp
-
-
LoggerAppenderPool
-
Pool implmentation for LoggerAppender instances
-
LoggerAppenderPool.php
-
-
LoggerAppenderRollingFile
-
LoggerAppenderRollingFile extends LoggerAppenderFile to backup the log files when they reach a certain size.
-
LoggerAppenderSocket
-
Serialize events and send them to a network socket.
-
LoggerAppenderSyslog
-
-
LoggerBasicPatternConverter
-
-
LoggerCategoryPatternConverter
-
-
LoggerClassNamePatternConverter
-
-
LoggerConfigurator
-
Implemented by classes capable of configuring log4php using a URL.
-
LoggerConfigurator.php
-
-
LoggerConfiguratorBasic
-
Use this class to quickly configure the package.
-
LoggerConfiguratorIni
-
Allows the configuration of log4php from an external file.
-
LoggerConfiguratorPhp
-
LoggerConfiguratorPhp class
-
LoggerConfiguratorXml
-
Use this class to initialize the log4php environment using XML files.
-
LoggerDatePatternConverter
-
-
LoggerException
-
LoggerException class
-
LoggerException.php
-
-
LoggerFilter
-
Users should extend this class to implement customized logging
-
LoggerFilter.php
-
-
LoggerFilterDenyAll
-
This filter drops all logging events.
-
LoggerFilterLevelMatch
-
This is a very simple filter based on level matching.
-
LoggerFilterLevelRange
-
This is a very simple filter based on level matching, which can be used to reject messages with priorities outside a certain range.
-
LoggerFilterStringMatch
-
This is a very simple filter based on string matching.
-
LoggerFormattingInfo
-
This class encapsulates the information obtained when parsing formatting modifiers in conversion modifiers.
-
LoggerHierarchy
-
This class is specialized in retrieving loggers by name and also maintaining the logger hierarchy. The logger hierarchy is dealing with the several Log-Levels Logger can have. From log4j website:
-
LoggerHierarchy.php
-
-
LoggerLayout
-
Extend this abstract class to create your own log layout format.
-
LoggerLayout.php
-
-
LoggerLayoutHtml
-
This layout outputs events in a HTML table.
-
LoggerLayoutPattern
-
A flexible layout configurable with pattern string.
-
LoggerLayoutSimple
-
A simple layout.
-
LoggerLayoutTTCC
-
TTCC layout format consists of time, thread, category and nested diagnostic context information, hence the name.
-
LoggerLayoutXml
-
The output of the LoggerXmlLayout consists of a series of log4php:event elements.
-
LoggerLevel
-
Defines the minimum set of levels recognized by the system, that is OFF, FATAL, ERROR, WARN, INFO, DEBUG and ALL.
-
LoggerLevel.php
-
-
LoggerLiteralPatternConverter
-
-
LoggerLocationInfo
-
The internal representation of caller location information.
-
LoggerLocationInfo.php
-
-
LoggerLocationPatternConverter
-
-
LoggerLoggingEvent
-
The internal representation of logging event.
-
LoggerLoggingEvent.php
-
-
LoggerMDC
-
The LoggerMDC class provides mapped diagnostic contexts.
-
LoggerMDC.php
-
-
LoggerMDCPatternConverter
-
-
LoggerNamedPatternConverter
-
-
LoggerNDC
-
The NDC class implements nested diagnostic contexts.
-
LoggerNDC.php
-
-
LoggerOptionConverter
-
A convenience class to convert property values to specific types.
-
LoggerPatternConverter
-
LoggerPatternConverter is an abstract class that provides the formatting functionality that derived classes need.
-
LoggerPatternParser
-
Most of the work of the LoggerPatternLayout class is delegated to the
LoggerPatternParser class.
-
LoggerReflectionUtils
-
Provides methods for reflective use on php objects
-
LoggerReflectionUtils.php
-
-
LoggerRendererDefault
-
The default Renderer renders objects by type casting.
-
LoggerRendererMap
-
-
LoggerRendererObject
-
Implement this interface in order to render objects as strings using
LoggerRendererMap.
-
LoggerRoot
-
The root logger.
-
LoggerRoot.php
-
-
LOGGER_DEBUG_KEY
-
-
LOGGER_FACTORY_KEY
-
Key for specifying the LoggerFactory.
-
LOGGER_PREFIX
-
-
LOGGER_STATE
-
-
LoggerRendererDefault.php
-
-
LoggerRendererMap.php
-
-
LoggerRendererObject.php
-
-
$sql
-
A LoggerPatternLayout string used to format a valid insert query (mandatory).
-
setAcceptOnMatch
-
-
setAcceptOnMatch
-
-
setAcceptOnMatch
-
-
setAdditivity
-
Set the additivity flag for this Category instance.
-
setAppend
-
-
setCategoryPrefixing
-
The CategoryPrefixing option specifies whether Category name is part of log output or not. This is true by default.
-
setContextPrinting
-
The ContextPrinting option specifies log output will include the nested context information belonging to the current thread.
-
setConversionPattern
-
Set the ConversionPattern option. This is the string which controls formatting and consists of a mix of literal content and conversion specifiers.
-
setCreateTable
-
Indicator if the logging table should be created on startup, if its not existing.
-
setCreateTable
-
-
setDatabase
-
-
setDateFormat
-
-
setDatePattern
-
Sets date format for the file name.
-
setDry
-
-
setDry
-
-
setDry
-
-
setDry
-
-
setDSN
-
Sets the DSN string for this connection. In case of
-
setFacility
-
Set the facility value for the syslog message.
-
setFile
-
Sets and opens the file where the log output will go.
-
setFile
-
The File property takes a string value which should be the name of the file to append to.
-
setFileName
-
-
setFileName
-
-
setFrom
-
-
setFrom
-
-
setHost
-
-
setIdent
-
Set the ident of the syslog message.
-
setInsertPattern
-
-
setInsertSql
-
Sets the SQL INSERT string to use with $insertPattern.
-
setLayout
-
Set the Layout for this appender.
-
setLevel
-
Setting a null value to the level of the root category may have catastrophic results.
-
setLevel
-
Set the level of this Category.
-
setLevelMax
-
-
setLevelMin
-
-
setLevelToMatch
-
-
setLocationInfo
-
-
setLocationInfo
-
The $locationInfo option takes a boolean value. By default,
-
setLocationInfo
-
The LocationInfo option takes a boolean value. By
-
setLog4jNamespace
-
-
setLog4jNamespace
-
-
setMaxBackupIndex
-
Set the maximum number of backup files to keep around.
-
setMaxDepth
-
Set maximum depth of this diagnostic context. If the current depth is smaller or equal to maxDepth, then no action is taken.
-
setMaxFileSize
-
Set the maximum size that the output file is allowed to reach before being rolled over to backup files.
-
setMaximumFileSize
-
Set the maximum size that the output file is allowed to reach before being rolled over to backup files.
-
setMicroSecondsPrinting
-
The MicroSecondsPrinting option specifies if microseconds infos should be printed at the end of timestamp.
-
setName
-
Set the name of this appender.
-
setOption
-
Set the option value for the syslog message.
-
setOverridePriority
-
If the priority of the message to be sent can be defined by a value in the properties-file, set parameter value to "true".
-
setParent
-
Always returns false.
-
setParent
-
Sets the parent logger of this logger
-
setPassword
-
-
setPassword
-
Sets the password for this connection.
-
setPort
-
-
setPort
-
-
setPriority
-
Set the priority value for the syslog message.
-
setProperties
-
Set the properites for the object that match the
passed as parameter.
-
setPropertiesByObject
-
Set the properties of an object passed as a parameter in one go. The
are parsed relative to a
.
-
setProperty
-
Set a property on this PropertySetter's Object. If successful, this
-
setRemoteHost
-
-
setSmtpHost
-
-
setSql
-
-
setSql
-
Sets the SQL string into which the event should be transformed.
-
setStringToMatch
-
-
setSubject
-
-
setSubject
-
-
setTable
-
-
setTable
-
Sets the tablename to which this appender should log.
-
setTarget
-
Set console target.
-
setter
-
-
setThreadPrinting
-
The ThreadPrinting option specifies whether the name of the current thread is part of log output or not. This is true by default.
-
setThreshold
-
set a new threshold level
-
setThreshold
-
Set the threshold level of this appender.
-
setTimeout
-
-
setTitle
-
The Title option takes a String value. This option sets the document title of the generated HTML document.
-
setTo
-
-
setTo
-
-
setType
-
-
setUser
-
-
setUser
-
Sets the username for this connection.
-
setUseXml
-
-
shutdown
-
Shutting down a hierarchy will safely close and remove all appenders in all categories including the root logger.
-
shutdown
-
Safely close all appenders.
-
spacePad
-
Fast space padding method.
-
STDERR
-
-
STDOUT
-
-
substVars
-
Perform variable substitution in string $val from the values of keys found with the getSystemProperty() method.