-
$adapters
-
Defines which adapter should be used for parsing which format.
-
$additive
-
Logger additivity. If set to true then child loggers will inherit the appenders of their ancestors by default.
-
$appenders
-
Holds appenders indexed by their name
-
$appenders
-
Holds the appenders before they are linked to loggers.
-
$appenders
-
A collection of appenders linked to this logger.
-
ACCEPT
-
The log event must be logged immediately without consulting with the remaining filters, if any, in the chain.
-
activate
-
-
activateOptions
-
Prepares the appender for logging.
-
activateOptions
-
Activates options for this layout.
-
activateOptions
-
Usually filters options become active when set. We provide a default do-nothing implementation for convenience.
-
add
-
Adds an appender to the pool.
-
addAppender
-
Adds a new appender to the Logger.
-
addFilter
-
Adds a filter to the end of the filter chain.
-
addNext
-
Adds a new filter to the filter chain this filter is a part of.
-
ALL
-
-
append
-
Forwards the logging event to the destination.
-
assertLog
-
If assertion parameter evaluates as false, then logs the message using the ERROR level.
-
autoload
-
Loads a class.
-
$append
-
-
activateOptions
-
-
activateOptions
-
Setup db connection.
-
activateOptions
-
-
activateOptions
-
-
activateOptions
-
-
activateOptions
-
Setup db connection.
-
activateOptions
-
Similar to parent method, but but replaces "%s" in the file name with the current date in format specified by the 'datePattern' parameter.
-
activateOptions
-
-
append
-
-
append
-
Appends the event to syslog.
-
append
-
-
append
-
-
append
-
-
append
-
-
append
-
-
append
-
-
append
-
Appends a new event to the mongo database.
-
append
-
Do nothing.
-
append
-
-
append
-
Appends a new event to the database.
-
ADDITIVITY_PREFIX
-
Prefix used for defining logger additivity.
-
APPENDER_PREFIX
-
Prefix used for defining an appender.
-
$acceptOnMatch
-
-
$acceptOnMatch
-
-
$acceptOnMatch
-
Indicates if this event should be accepted or denied on match
-
addConverter
-
-
addToList
-
-
activateOptions
-
-
addRenderer
-
Add a renderer to a hierarchy passed as parameter.
-
$categoryName
-
The category (logger) name.
-
$classes
-
Maps classnames to files containing the class.
-
$className
-
-
$closed
-
Set to true when the appender is closed. A closed appender will not accept any logging requests.
-
callAppenders
-
Forwards the given logging event to all linked appenders.
-
clear
-
Clears all Logger definitions from the logger hierarchy.
-
clear
-
Clears the mapped diagnostic context.
-
clear
-
Clears all appenders from the pool.
-
clear
-
Clears all loggers.
-
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.
-
clearFilters
-
Clears the filter chain by removing all the filters in it.
-
close
-
Releases any resources allocated by the appender.
-
configure
-
Configures log4php based on the given configuration.
-
configure
-
Configures log4php.
-
configure
-
Configures log4php based on the given configuration. The input can either be a path to the config file, or a PHP array holding the configuration.
-
configureAppender
-
Configures an appender based on given config and saves it to $appenders array so it can be later linked to loggers.
-
configureLogger
-
Configures a logger.
-
configureOtherLogger
-
Configures a logger which is not root.
-
configureRenderer
-
-
configureRootLogger
-
Configures the root logger
-
createAppenderFilter
-
Parses filter config, creates the filter and adds it to the appender's filter chain.
-
createAppenderLayout
-
Parses layout config, creates the layout and links it to the appender.
-
createObject
-
Creates an instances from the given class name.
-
$canAppend
-
Set to true if the appender can append.
-
$canAppend
-
Set in activateOptions() and later used in append() to check if all conditions to append are true.
-
$collection
-
The collection to which log is written.
-
$collectionName
-
Name of the collection within the given database.
-
$connection
-
Connection to the MongoDB instance.
-
$createTable
-
Create the log table if it does not exists (optional).
-
close
-
Closes the connection to the logging database
-
close
-
-
close
-
-
close
-
Closes the connection to the logging database
-
close
-
-
close
-
-
close
-
-
$config
-
-
$config
-
Holds the configuration.
-
convert
-
-
convert
-
Converts the provided INI configuration file to a PHP array config.
-
convert
-
Converts the configuration file to PHP format usable by the configurator.
-
convert
-
-
$currentLiteral
-
-
CLASS_LOCATION_CONVERTER
-
-
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
-
-
$categoryPrefixing
-
-
$contextPrinting
-
-
CDATA_EMBEDDED_END
-
-
CDATA_END
-
-
CDATA_PSEUDO_END
-
-
CDATA_START
-
-
clear
-
-
$defaultConfiguration
-
Default configuration; used if no configuration file is provided.
-
DEBUG
-
-
debug
-
Log a message object with the DEBUG level.
-
decide
-
Decide what to do.
-
delete
-
Removes an appender from the pool by name.
-
DENY
-
The log event must be dropped immediately without consulting with the remaining filters, if any, in the chain.
-
doAppend
-
Performs threshold checks and invokes filters before delegating logging to the subclass' specific append() method.
-
doConfigure
-
Constructs the logger hierarchy based on configuration.
-
$databaseName
-
Name of the database to which to log.
-
$datePattern
-
Format date.
-
$db
-
The PDO instance.
-
$dry
-
-
$dry
-
-
$dsn
-
DSN string for enabling a connection.
-
DEFAULT_COLLECTION_NAME
-
Default value for $collectionName
-
DEFAULT_DB_NAME
-
Default value for $databaseName
-
DEFAULT_MONGO_HOST
-
Default value for $host, without a prefix.
-
DEFAULT_MONGO_PORT
-
Default value for $port
-
DEFAULT_MONGO_URL_PREFIX
-
Default prefix for the $host.
-
DEFAULT_TIMEOUT_VALUE
-
Default value for $timeout
-
decide
-
-
decide
-
Return the decision of this filter.
-
decide
-
Return the decision of this filter.
-
decide
-
-
$df
-
-
DATE_FORMAT_ABSOLUTE
-
-
DATE_FORMAT_DATE
-
-
DATE_FORMAT_ISO8601
-
-
DELIM_START
-
-
DELIM_START_LEN
-
-
DELIM_STOP
-
-
DELIM_STOP_LEN
-
-
DOT_STATE
-
-
dump
-
-
$dateFormat
-
-
DEFAULT_CONVERSION_PATTERN
-
Default conversion Pattern
-
$defaultRenderer
-
-
$fileName
-
-
$filter
-
The first filter in the filter chain.
-
$fqcn
-
-
$fqcn
-
The Logger's fully qualified class name.
-
$fullInfo
-
-
FATAL
-
-
fatal
-
Log a message object with the FATAL level.
-
forcedLog
-
This method creates a new logging event and logs the event without further checks.
-
format
-
Override this method to create your own layout format.
-
FORMAT_INI
-
INI (properties) configuration file format.
-
FORMAT_PHP
-
PHP configuration file format.
-
FORMAT_XML
-
XML configuration file format.
-
$facility
-
The facility value indicates the source of the message.
-
$file
-
-
$firstAppend
-
boolean used internally to mark first append
-
$fp
-
-
$fp
-
-
$from
-
-
$from
-
'from' field (defaults to 'sendmail_from' from php.ini on win32).
-
format
-
Converts the logging event into an array which can be logged to mongodb.
-
formatThrowable
-
Converts an Exception into an array which can be logged to mongodb.
-
$falseValues
-
String values which are converted to boolean FALSE.
-
$formattingInfo
-
-
FILE_LOCATION_CONVERTER
-
-
finalizeConverter
-
-
findAndSubst
-
Find the value corresponding to $key in $props. Then perform variable substitution on the found value.
-
format
-
A template method for formatting in a converter specific way.
-
format
-
-
FULL_LOCATION_CONVERTER
-
-
format
-
In addition to the level of the statement and message, the returned string includes time, thread, category.
-
format
-
-
format
-
Returns the log statement in a format consisting of the
-
format
-
-
format
-
-
format
-
Produces a formatted string as specified by the conversion pattern.
-
formatToArray
-
Returns an array with the formatted elements.
-
findAndRender
-
Find the appropriate renderer for the class type of the o parameter.
-
get
-
Returns the context value identified by the key parameter.
-
get
-
Retrieves an appender from the pool by name.
-
get
-
-
getAdditivity
-
Returns the additivity flag.
-
getAllAppenders
-
Returns the appenders linked to this logger as an array.
-
getAppender
-
Returns a linked appender by name.
-
getAppenders
-
Returns all appenders from the pool.
-
getChainedLevel
-
-
getClassName
-
-
getConfigType
-
Determines configuration file type based on the file extension.
-
getConfigurator
-
Creates a logger configurator instance based on the provided configurator class. If no class is given, returns an instance of the default configurator.
-
getContentType
-
Returns the content type output by this layout.
-
getCurrentLoggers
-
Returns all the currently defined loggers in this hierarchy as an array.
-
getCurrentLoggers
-
Returns an array this whole Logger instances.
-
getDefaultConfiguration
-
Returns the default log4php configuration.
-
getDefaultLayout
-
Returns the default layout for this appender. Can be overriden by derived appenders.
-
getDepth
-
Get the current nesting depth of this diagnostic context.
-
getEffectiveLevel
-
Starting from this Logger, search the Logger hierarchy for a non-null level and return it.
-
getFileName
-
Return the file name of the caller.
-
getFilter
-
Returns the first filter in the filter chain.
-
getFirstFilter
-
Returns the first filter in the filter chain.
-
getFooter
-
Returns the footer for the layout format.
-
getFullInfo
-
Returns the full information of the caller.
-
getFullQualifiedClassname
-
Returns the full qualified classname.
-
getHeader
-
Returns the header for the layout format.
-
getHierarchy
-
Returns the hierarchy used by this Logger.
-
getLayout
-
Returns the appender layout.
-
getLevel
-
Get the assigned Logger level.
-
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
-
getLevelTrace
-
Returns a Trace Level
-
getLevelWarn
-
Returns a Warn Level
-
getLineNumber
-
Returns the line number of the caller.
-
getLocationInformation
-
Set the location information for this logging event. The collected information is cached for future use.
-
getLogger
-
Returns a named logger instance logger. If it doesn't exist, one is created.
-
getLogger
-
Returns a Logger by name. If it does not exist, it will be created.
-
getLoggerName
-
Return the name of the logger. Use this form instead of directly accessing the $categoryName field.
-
getMap
-
Returns the contex map as an array.
-
getMDC
-
Returns the the context corresponding to the
parameter.
-
getMDCMap
-
Returns the entire MDC context.
-
getMessage
-
Return the message for this logging event.
-
getMethodName
-
Returns the method name of the caller.
-
getName
-
Retruns the appender name.
-
getName
-
Returns the logger name.
-
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 Logger. Can be null if this is the root logger.
-
getRenderedMessage
-
Render message.
-
getRendererMap
-
Returns the logger renderer map.
-
getRootLogger
-
Returns the root logger.
-
getRootLogger
-
Returns the Root Logger.
-
getStartTime
-
Returns the time when the application started, as a UNIX timestamp with microseconds.
-
getStringRepresentation
-
Returns string representation of throwable
-
getSyslogEquivalent
-
Return the syslog equivalent of this priority as an integer.
-
getThreadName
-
-
getThreshold
-
Returns the appender's threshold level.
-
getThreshold
-
Returns the main threshold level.
-
getThrowable
-
Return source exception
-
getThrowableInformation
-
-
getTime
-
Calculates the time of this event.
-
getTimeStamp
-
-
getAppend
-
-
getCollection
-
Returns the active mongodb collection.
-
getCollectionName
-
Returns the value of $collectionName parameter.
-
getConnection
-
Returns the mongodb connection.
-
getDatabaseHandle
-
Sometimes databases allow only one connection to themselves in one thread.
-
getDatabaseName
-
Returns the value of $databaseName parameter.
-
getDatePattern
-
-
getDefaultLayout
-
Override the default layout to use serialized.
-
getExpandedFileName
-
Returns the value of the MaxBackupIndex option.
-
getFacility
-
Returns the $facility.
-
getFile
-
-
getFileName
-
-
getHost
-
Returns the value of $host parameter.
-
getHtmlLineBreaks
-
-
getIdent
-
Returns the $ident.
-
getMaxBackupIndex
-
-
getMaxFileSize
-
-
getMaximumFileSize
-
Get the maximum size that the output file is allowed to reach before being rolled over to backup files.
-
getOption
-
Returns the $option.
-
getOverridePriority
-
Returns the $overridePriority.
-
getPassword
-
Returns the value of $password parameter.
-
getPort
-
Returns the value of $port parameter.
-
getPort
-
Returns the target port.
-
getPriority
-
Returns the $priority.
-
getRemoteHost
-
Returns the target host.
-
getSyslogPriority
-
Determines which syslog priority to use based on the given level.
-
getTarget
-
-
getTimeout
-
Returns the value of $timeout parameter.
-
getTimeout
-
Returns the timeout
-
getUserName
-
Returns the value of $userName parameter.
-
getAttributeValue
-
-
getFullyQualifiedName
-
-
getFullyQualifiedName
-
-
getFullyQualifiedName
-
-
getSystemProperty
-
Read a predefined var.
-
getCategoryPrefixing
-
-
getContentType
-
-
getContextPrinting
-
-
getDateFormat
-
-
getFooter
-
-
getFooter
-
-
getHeader
-
-
getHeader
-
-
getLocationInfo
-
Returns the location information flag.
-
getLocationInfo
-
Whether or not file name and line number will be included in the output.
-
getLocationInfo
-
Returns the current value of the LocationInfo option.
-
getLog4jNamespace
-
-
getMicroSecondsPrinting
-
-
getThreadPrinting
-
-
getTitle
-
-
getByClassName
-
Search the parents of clazz for a renderer.
-
getByObject
-
-
$initialized
-
Inidicates if log4php has been initialized
-
INFO
-
-
info
-
Log a message object with the INFO Level.
-
isAsSevereAsThreshold
-
Checks whether the message level is below the appender's threshold.
-
isAttached
-
Checks whether an appender is attached to this logger instance.
-
isDebugEnabled
-
Check whether this Logger is enabled for the DEBUG Level.
-
isDisabled
-
Returns true if the hierarchy is disabled for given log level and false otherwise.
-
isEnabledFor
-
Check whether this Logger is enabled for a given Level passed as parameter.
-
isErrorEnabled
-
Check whether this Logger is enabled for the ERROR Level.
-
isFatalEnabled
-
Check whether this Logger is enabled for the FATAL Level.
-
isGreaterOrEqual
-
Returns true if this level has a higher or equal level than the level passed as argument, false otherwise.
-
isInfoEnabled
-
Check whether this Logger is enabled for the INFO Level.
-
isInitialized
-
Returns true if the log4php framework has been initialized.
-
isTraceEnabled
-
Check whether this Logger is enabled for the TRACE Level.
-
isWarnEnabled
-
Check whether this Logger is enabled for the WARN Level.
-
$ident
-
The ident string is added to each message. Typically the name of your application.
-
$insertPattern
-
A comma separated list of LoggerPatternLayout format strings that replace the "?" in $sql.
-
$insertSql
-
Can be set to a complete insert statement with ? that are replaced using insertPattern.
-
$intFacility
-
Holds the int value of the $facility.
-
$intOption
-
Holds the int value of the $option.
-
$intPriority
-
Holds the int value of the $priority.
-
$i
-
-
ignoresThrowable
-
-
$layout
-
The appender's layout. Can be null if the appender does not use a layout.
-
$level
-
Level of the logging event.
-
$level
-
The assigned Logger level.
-
$level
-
Integer level value.
-
$levelMap
-
Contains a list of instantiated levels.
-
$levelStr
-
String representation of the level.
-
$lineNumber
-
-
$locationInfo
-
-
$logger
-
-
$logger
-
-
$loggers
-
Array holding all Logger instances.
-
LoggerAppenderConsole.php
-
-
LoggerAppenderDailyFile.php
-
-
LoggerAppenderEcho.php
-
-
LoggerAppenderFile.php
-
-
LoggerAppenderMail.php
-
-
LoggerAppenderMailEvent.php
-
-
LoggerAppenderMongoDB.php
-
-
LoggerAppenderNull.php
-
-
LoggerAppenderPDO.php
-
-
LoggerAppenderPhp.php
-
-
LoggerAppenderRollingFile.php
-
-
LoggerAppenderSocket.php
-
-
LoggerAppenderSyslog.php
-
-
LoggerConfigurationAdapter.php
-
-
LoggerConfigurationAdapterINI.php
-
-
LoggerConfigurationAdapterPHP.php
-
-
LoggerConfigurationAdapterXML.php
-
-
LoggerConfiguratorDefault.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
-
-
LoggerLayoutSerialized.php
-
-
LoggerLayoutSimple.php
-
-
LoggerLayoutTTCC.php
-
-
LoggerLayoutXml.php
-
-
LOCATION_INFO_NA
-
When location information is not available the constant NA is returned. Current value of this string constant is ?.
-
log
-
Log a message using the provided logging level.
-
Logger
-
This is the central class in the log4php package. All logging operations are done through this class.
-
Logger.php
-
-
LoggerAppender
-
Abstract class that defines output logs strategies.
-
LoggerAppender.php
-
-
LoggerAppenderPool
-
Pool implmentation for LoggerAppender instances.
-
LoggerAppenderPool.php
-
-
LoggerAutoloader
-
Class autoloader.
-
LoggerAutoloader.php
-
-
LoggerConfigurable
-
A base class from which all classes which have configurable properties are extended. Provides a generic setter with integrated validation.
-
LoggerConfigurable.php
-
-
LoggerConfigurator
-
Interface for logger configurators.
-
LoggerConfigurator.php
-
-
LoggerConfiguratorDefault
-
Default implementation of the logger configurator.
-
LoggerException
-
LoggerException class
-
LoggerException.php
-
-
LoggerFilter
-
Users should extend this class to implement customized logging
-
LoggerFilter.php
-
-
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
-
-
LoggerLevel
-
Defines the minimum set of levels recognized by the system, that is OFF, FATAL, ERROR, WARN, INFO, DEBUG and ALL.
-
LoggerLevel.php
-
-
LoggerLocationInfo
-
The internal representation of caller location information.
-
LoggerLocationInfo.php
-
-
LoggerLoggingEvent
-
The internal representation of logging event.
-
LoggerLoggingEvent.php
-
-
LoggerMDC
-
The LoggerMDC class provides mapped diagnostic contexts.
-
LoggerMDC.php
-
-
LoggerNDC
-
The NDC class implements nested diagnostic contexts.
-
LoggerNDC.php
-
-
LoggerReflectionUtils
-
Provides methods for reflective use on php objects
-
LoggerReflectionUtils.php
-
-
LoggerRoot
-
The root logger.
-
LoggerRoot.php
-
-
LoggerThrowableInformation
-
The internal representation of throwables.
-
LoggerThrowableInformation.php
-
-
LoggerRendererDefault.php
-
-
LoggerRendererException.php
-
-
LoggerRendererMap.php
-
-
LoggerRendererObject.php
-
-
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.
-
LoggerAppenderMongoDB
-
Appender for writing to MongoDB.
-
LoggerAppenderNull
-
A NullAppender merely exists, it never outputs a message to any device.
-
LoggerAppenderPDO
-
Appends log events to a db table using PDO.
-
LoggerAppenderPhp
-
-
LoggerAppenderRollingFile
-
LoggerAppenderRollingFile extends LoggerAppenderFile to backup the log files when they reach a certain size.
-
LoggerAppenderSocket
-
Appends events to a network socket.
-
LoggerAppenderSyslog
-
-
load
-
Loads and parses the INI configuration file.
-
loadXML
-
Loads and validates the XML.
-
LoggerConfigurationAdapter
-
The interface for configurator adapters.
-
LoggerConfigurationAdapterINI
-
Converts ini configuration files to a PHP array.
-
LoggerConfigurationAdapterPHP
-
Converts PHP configuration files to a PHP array.
-
LoggerConfigurationAdapterXML
-
Converts XML configuration files to a PHP array.
-
LOGGER_PREFIX
-
Prefix used for defining a logger.
-
$levelMax
-
-
$levelMin
-
-
$levelToMatch
-
The level, when to match
-
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.
-
$leftAlign
-
-
$leftAlign
-
-
$literal
-
-
LEVEL_CONVERTER
-
-
LINE_LOCATION_CONVERTER
-
-
LITERAL_STATE
-
-
LoggerBasicPatternConverter
-
-
LoggerCategoryPatternConverter
-
-
LoggerClassNamePatternConverter
-
-
LoggerDatePatternConverter
-
-
LoggerFormattingInfo
-
This class encapsulates the information obtained when parsing formatting modifiers in conversion modifiers.
-
LoggerLiteralPatternConverter
-
-
LoggerLocationPatternConverter
-
-
LoggerMDCPatternConverter
-
-
LoggerNamedPatternConverter
-
-
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.
-
$locationInfo
-
If set to true then the file name and line number of the origin of the log statement will be output.
-
$locationInfo
-
The LocationInfo option takes a boolean value. By
-
$locationInfo
-
Whether to include the event's location information (slow).
-
$log4jNamespace
-
If set to true, log4j namespace will be used instead of the log4php namespace.
-
LOG4J_NS
-
-
LOG4J_NS_PREFIX
-
-
LOG4PHP_NS
-
-
LOG4PHP_NS_PREFIX
-
-
LoggerLayoutHtml
-
This layout outputs events in a HTML table.
-
LoggerLayoutPattern
-
A flexible layout configurable with pattern string.
-
LoggerLayoutSerialized
-
Layout which formats the events using PHP's serialize() function.
-
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.
-
LoggerRendererDefault
-
The default Renderer renders objects by type casting.
-
LoggerRendererException
-
Exception renderer
-
LoggerRendererMap
-
-
LoggerRendererObject
-
Implement this interface in order to render objects as strings using
LoggerRendererMap.
-
$parent
-
The parent logger. Set to null if this is the root logger.
-
parse
-
Parses the given configuration and returns the parsed configuration as a PHP array. Does not perform any configuration.
-
parseFile
-
Loads the configuration file from the given URL, determines which adapter to use, converts the configuration to a PHP array and returns it.
-
peek
-
Looks at the last diagnostic context at the top of this NDC without removing it.
-
pop
-
Clients should call this method before leaving a diagnostic context.
-
push
-
Push new diagnostic context information for the current thread.
-
put
-
Stores a context value as identified with the key parameter into the context map.
-
$password
-
Database password
-
$password
-
Password used to connect to the database.
-
$port
-
Mailserver port (win32 only).
-
$port
-
Port on which the instance is bound.
-
$port
-
Target port
-
$preparedInsert
-
Prepared statement for the INSERT INTO query.
-
$priority
-
The syslog priority to use when overriding priority. This setting is required if overridePriority is set to true.
-
parseFacility
-
Parses the facility string and returns the corresponding int value.
-
parseOption
-
Parses a syslog option string and returns the correspodning int value.
-
parsePriority
-
Parses the priority string and returns the corresponding int value.
-
parseAppender
-
Parses an <appender> node.
-
parseAppender
-
Parses an configuration line pertaining to an appender.
-
parseAppenderReferences
-
Parses a <logger> node for appender references and returns them in an array.
-
parseConfiguration
-
Parses the <configuration> node.
-
parseFilter
-
Parses a <filter> node.
-
parseLayout
-
Parses a <layout> node.
-
parseLogger
-
Parses a logger definition.
-
parseLogger
-
Parses a <logger> node.
-
parseParameters
-
Parses any <param> child nodes returning them in an array.
-
parseRenderer
-
Parses a renderer definition.
-
parseRenderer
-
Parses a <renderer> node.
-
parseRootLogger
-
Parses a <root> node.
-
$pattern
-
-
$patternLength
-
-
$precision
-
-
parse
-
Parser.
-
$pattern
-
The conversion pattern.
-
put
-
-
$renderedMessage
-
The application supplied message rendered through the log4php objet rendering mechanism. At present renderedMessage == message.
-
$rendererMap
-
The logger renderer map.
-
$requiresLayout
-
Set to true if the appender requires a layout.
-
$root
-
The root logger.
-
remove
-
Removes the the context identified by the key parameter.
-
remove
-
Remove the diagnostic context for this thread.
-
removeAllAppenders
-
Removes all appenders from the Logger.
-
removeAppender
-
Remove the appender passed as parameter form the Logger.
-
requiresLayout
-
Configurators call this method to determine if the appender requires a layout.
-
resetConfiguration
-
Destroy configurations for logger definitions
-
resetConfiguration
-
Reset all values contained in this hierarchy instance to their default.
-
$remoteHost
-
Target host.
-
$requiresLayout
-
Appender does not require a layout.
-
$requiresLayout
-
This appender does not require a layout.
-
$requiresLayout
-
This appender does not require a layout.
-
rollOver
-
Implements the usual roll over behaviour.
-
RENDERER_PREFIX
-
Prefix used for defining a renderer.
-
ROOT_LOGGER_NAME
-
Name to assign to the root logger.
-
ROOT_LOGGER_PREFIX
-
Prefix used for defining the root logger.
-
RELATIVE_TIME_CONVERTER
-
-
reset
-
-
render
-
Render the entity passed as parameter as a String.
-
render
-
-
render
-
Render objects by type casting
-
$stack
-
This is the repository of NDC stack
-
$startTime
-
-
$syslogEquivalent
-
Equivalent syslog level.
-
setAdditivity
-
Sets the additivity flag.
-
setBoolean
-
Setter function for boolean type.
-
setFileSize
-
Setter for file size.
-
setInteger
-
Setter function for integer type.
-
setLayout
-
Sets the appender layout.
-
setLevel
-
Setter function for LoggerLevel values.
-
setLevel
-
Set the Logger level.
-
setLevel
-
Setting a null value to the level of the root category may have catastrophic results.
-
setMaxDepth
-
Set maximum depth of this diagnostic context. If the current depth is smaller or equal to maxDepth, then no action is taken.
-
setName
-
Sets the appender name.
-
setNumeric
-
Setter function for numeric type.
-
setOptions
-
Helper method which applies given options to an object which has setters for these options (such as appenders, layouts, etc.).
-
setParent
-
Sets the parent logger.
-
setParent
-
Always returns false.
-
setPositiveInteger
-
Setter function for integer type.
-
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
-
setString
-
Setter function for string type.
-
setter
-
-
setThreshold
-
Sets the appender threshold.
-
setThreshold
-
Sets the main threshold level.
-
shutdown
-
Safely close all appenders.
-
shutdown
-
Shutting down a hierarchy will safely close and remove all appenders in all loggers including the root logger.
-
$smtpHost
-
Mailserver hostname (win32 only).
-
$sql
-
A LoggerPatternLayout string used to format a valid insert query.
-
$subject
-
-
$subject
-
-
setAppend
-
-
setCollectionName
-
Sets the value of $collectionName parameter.
-
setCreateTable
-
Indicator if the logging table should be created on startup, if its not existing.
-
setDatabaseName
-
Sets the value of $databaseName parameter.
-
setDatePattern
-
Sets date format for the file name.
-
setDry
-
-
setDry
-
-
setDSN
-
Sets the DSN string for this connection. In case of
-
setFacility
-
Sets the $facility.
-
setFile
-
Sets the file where the log output will go.
-
setFile
-
-
setFileName
-
Sets the file where the log output will go.
-
setFrom
-
-
setFrom
-
-
setHost
-
Sets the value of $host parameter.
-
setHtmlLineBreaks
-
-
setIdent
-
Sets the $ident.
-
setInsertPattern
-
-
setInsertSql
-
Sets the SQL INSERT string to use with $insertPattern.
-
setMaxBackupIndex
-
Set the maximum number of backup files to keep around.
-
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.
-
setOption
-
Sets the $option.
-
setOverridePriority
-
Sets the $overridePriority.
-
setPassword
-
Sets the password for this connection.
-
setPassword
-
Sets the value of $password parameter.
-
setPort
-
Sets the target port
-
setPort
-
-
setPort
-
Sets the value of $port parameter.
-
setPriority
-
Sets the $priority.
-
setRemoteHost
-
Sets the target host.
-
setSmtpHost
-
-
setSql
-
Sets the SQL string into which the event should be transformed.
-
setSubject
-
-
setSubject
-
-
setTable
-
Sets the tablename to which this appender should log.
-
setTarget
-
Set console target.
-
setTimeout
-
Sets the timeout.
-
setTimeout
-
Sets the value of $timeout parameter.
-
setTo
-
-
setTo
-
-
setUser
-
Sets the username for this connection.
-
setUserName
-
Sets the value of $userName parameter.
-
STDERR
-
-
STDOUT
-
-
SCHEMA_PATH
-
Path to the XML schema used for validation.
-
$stringToMatch
-
-
setAcceptOnMatch
-
-
setAcceptOnMatch
-
-
setAcceptOnMatch
-
-
setLevelMax
-
-
setLevelMin
-
-
setLevelToMatch
-
-
setStringToMatch
-
-
$spaces
-
-
$state
-
-
spacePad
-
Fast space padding method.
-
substVars
-
Perform variable substitution in string $val from the values of keys found with the getSystemProperty() method.
-
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.
-
setDateFormat
-
-
setLocationInfo
-
Sets the location information flag.
-
setLocationInfo
-
The LocationInfo option takes a boolean value. By
-
setLocationInfo
-
The $locationInfo option takes a boolean value. By default,
-
setLog4jNamespace
-
-
setMicroSecondsPrinting
-
The MicroSecondsPrinting option specifies if microseconds infos should be printed at the end of timestamp.
-
setThreadPrinting
-
The ThreadPrinting option specifies whether the name of the current thread is part of log output or not. This is true by default.
-
setTitle
-
The Title option takes a String value. This option sets the document title of the generated HTML document.
-
$threadName
-
The name of thread in which this logging event was generated.
-
$threshold
-
Main level threshold. Events with lower level will not be logged by any logger, regardless of it's configuration.
-
$threshold
-
Appender threshold level. Events whose level is below the threshold will not be logged.
-
$throwable
-
-
$throwableArray
-
-
$throwableInfo
-
-
$timeStamp
-
The number of seconds elapsed from 1/1/1970 until logging event was created plus microseconds if available.
-
toInt
-
Returns the integer representation of this level.
-
toLevel
-
Convert the input argument to a level. If the conversion fails, then this method returns the provided default level.
-
toString
-
Serialize this object
-
toString
-
Returns the string representation of this level.
-
TRACE
-
-
trace
-
Log a message object with the TRACE level.
-
$table
-
Table name to write events. Used only for CREATE TABLE if $createTable is true.
-
$target
-
Can be 'php://stdout' or 'php://stderr'. But it's better to use keywords STDOUT and STDERR (case insensitive).
-
$timeout
-
Timeout value used when connecting to the database (in milliseconds).
-
$timeout
-
Connection timeout in ms.
-
$to
-
-
$to
-
-
THRESHOLD_PREFIX
-
Prefix used for defining logger threshold.
-
$tail
-
-
$trueValues
-
String values which are converted to boolean TRUE.
-
$type
-
-
$type
-
-
THREAD_CONVERTER
-
-
toBoolean
-
If $value is true, then true is returned. If $value is false, then true is returned. Otherwise, $default is returned.
-
toBooleanEx
-
Converts $value to boolean, or throws an exception if not possible.
-
toFileSize
-
-
toFileSizeEx
-
Converts a value to a valid file size (integer).
-
toInt
-
-
toIntegerEx
-
Converts $value to integer, or throws an exception if not possible.
-
toLevel
-
Converts a standard or custom priority level to a Level object.
-
toLevelEx
-
Converts the value to a level. Throws an exception if not possible.
-
toPositiveIntegerEx
-
Converts $value to integer, or throws an exception if not possible.
-
toStringEx
-
Converts a value to string, or throws an exception if not possible.
-
$threadPrinting
-
-
$title
-
The Title option takes a String value. This option sets the document title of the generated HTML document.
-
TTCC_CONVERSION_PATTERN
-
Default conversion TTCC Pattern