-
$acceptOnMatch
-
-
$acceptOnMatch
-
Indicates if this event should be accepted or denied on match
-
$acceptOnMatch
-
-
$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.
-
$append
-
-
$appenders
-
Holds the appenders before they are linked to loggers.
-
$appenders
-
Holds appenders indexed by their name
-
$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
-
-
activateOptions
-
Activates options for this layout.
-
activateOptions
-
Usually filters options become active when set. We provide a default do-nothing implementation for convenience.
-
activateOptions
-
Prepares the appender for logging.
-
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
-
-
add
-
Adds an appender to the pool.
-
addAppender
-
Adds a new appender to the Logger.
-
addConverter
-
-
addFilter
-
Adds a filter to the end of the filter chain.
-
ADDITIVITY_PREFIX
-
Prefix used for defining logger additivity.
-
addNext
-
Adds a new filter to the filter chain this filter is a part of.
-
addRenderer
-
Add a renderer to a hierarchy passed as parameter.
-
addToList
-
-
ALL
-
-
append
-
-
append
-
Appends a new event to the mongo database.
-
append
-
Do nothing.
-
append
-
-
append
-
-
append
-
-
append
-
-
append
-
Appends a new event to the database.
-
append
-
-
append
-
Appends the event to syslog.
-
append
-
-
append
-
-
append
-
Forwards the logging event to the destination.
-
APPENDER_PREFIX
-
Prefix used for defining an appender.
-
assertLog
-
If assertion parameter evaluates as false, then logs the message using the ERROR level.
-
autoload
-
Loads a class.
-
$canAppend
-
Set in activateOptions() and later used in append() to check if all conditions to append are true.
-
$canAppend
-
Set to true if the appender can append.
-
$categoryName
-
The category (logger) name.
-
$categoryPrefixing
-
-
$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.
-
$collection
-
The collection to which log is written.
-
$collectionName
-
Name of the collection within the given database.
-
$config
-
-
$config
-
Holds the configuration.
-
$connection
-
Connection to the MongoDB instance.
-
$contextPrinting
-
-
$createTable
-
Create the log table if it does not exists (optional).
-
$currentLiteral
-
-
callAppenders
-
Forwards the given logging event to all linked appenders.
-
CDATA_EMBEDDED_END
-
-
CDATA_END
-
-
CDATA_PSEUDO_END
-
-
CDATA_START
-
-
CLASS_LOCATION_CONVERTER
-
-
clear
-
-
clear
-
Clears all Logger definitions from the logger hierarchy.
-
clear
-
Clears the mapped diagnostic context.
-
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
-
Clears all appenders from the pool.
-
clear
-
Clears all loggers.
-
clearFilters
-
Clears the filter chain by removing all the filters in it.
-
close
-
Closes the connection to the logging database
-
close
-
-
close
-
Releases any resources allocated by the appender.
-
close
-
-
close
-
-
close
-
Closes the connection to the logging database
-
close
-
-
close
-
-
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.
-
configure
-
Configures log4php based on the given configuration.
-
configure
-
Configures log4php.
-
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
-
convert
-
Converts the provided INI configuration file to a PHP array config.
-
convert
-
-
convert
-
Derived pattern converters must override this method in order to convert conversion specifiers in the correct way.
-
convert
-
Converts the configuration file to PHP format usable by the configurator.
-
convert
-
-
convert
-
-
convert
-
-
convert
-
-
convert
-
-
convert
-
-
convert
-
-
CONVERTER_STATE
-
-
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.
-
$databaseName
-
Name of the database to which to log.
-
$dateFormat
-
-
$datePattern
-
Format date.
-
$db
-
The PDO instance.
-
$defaultConfiguration
-
Default configuration; used if no configuration file is provided.
-
$defaultRenderer
-
-
$df
-
-
$dry
-
-
$dry
-
-
$dsn
-
DSN string for enabling a connection.
-
DATE_FORMAT_ABSOLUTE
-
-
DATE_FORMAT_DATE
-
-
DATE_FORMAT_ISO8601
-
-
debug
-
Log a message object with the DEBUG level.
-
DEBUG
-
-
decide
-
-
decide
-
-
decide
-
Return the decision of this filter.
-
decide
-
Return the decision of this filter.
-
decide
-
Decide what to do.
-
DEFAULT_COLLECTION_NAME
-
Default value for $collectionName
-
DEFAULT_CONVERSION_PATTERN
-
Default conversion Pattern
-
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
-
delete
-
Removes an appender from the pool by name.
-
DELIM_START
-
-
DELIM_START_LEN
-
-
DELIM_STOP
-
-
DELIM_STOP_LEN
-
-
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.
-
DOT_STATE
-
-
dump
-
-
$facility
-
The facility value indicates the source of the message.
-
$falseValues
-
String values which are converted to boolean FALSE.
-
$file
-
-
$fileName
-
-
$filter
-
The first filter in the filter chain.
-
$firstAppend
-
boolean used internally to mark first append
-
$formattingInfo
-
-
$fp
-
-
$fp
-
-
$fqcn
-
The Logger's fully qualified class name.
-
$fqcn
-
-
$from
-
-
$from
-
'from' field (defaults to 'sendmail_from' from php.ini on win32).
-
$fullInfo
-
-
FATAL
-
-
fatal
-
Log a message object with the FATAL level.
-
FILE_LOCATION_CONVERTER
-
-
finalizeConverter
-
-
findAndRender
-
Find the appropriate renderer for the class type of the o parameter.
-
findAndSubst
-
Find the value corresponding to $key in $props. Then perform variable substitution on the found value.
-
forcedLog
-
This method creates a new logging event and logs the event without further checks.
-
format
-
-
format
-
A template method for formatting in a converter specific way.
-
format
-
Produces a formatted string as specified by the conversion pattern.
-
format
-
-
format
-
Converts the logging event into an array which can be logged to mongodb.
-
format
-
-
format
-
Override this method to create your own layout format.
-
format
-
In addition to the level of the statement and message, the returned string includes time, thread, category.
-
format
-
Returns the log statement in a format consisting of the
-
format
-
-
formatThrowable
-
Converts an Exception into an array which can be logged to mongodb.
-
formatToArray
-
Returns an array with the formatted elements.
-
FORMAT_INI
-
INI (properties) configuration file format.
-
FORMAT_PHP
-
PHP configuration file format.
-
FORMAT_XML
-
XML configuration file format.
-
FULL_LOCATION_CONVERTER
-
-
get
-
Returns the context value identified by the key parameter.
-
get
-
-
get
-
Retrieves an appender from the pool by name.
-
getAdditivity
-
Returns the additivity flag.
-
getAllAppenders
-
Returns the appenders linked to this logger as an array.
-
getAppend
-
-
getAppender
-
Returns a linked appender by name.
-
getAppenders
-
Returns all appenders from the pool.
-
getAttributeValue
-
-
getByClassName
-
Search the parents of clazz for a renderer.
-
getByObject
-
-
getCategoryPrefixing
-
-
getChainedLevel
-
-
getClassName
-
-
getCollection
-
Returns the active mongodb collection.
-
getCollectionName
-
Returns the value of $collectionName parameter.
-
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.
-
getConnection
-
Returns the mongodb connection.
-
getContentType
-
-
getContentType
-
Returns the content type output by this layout.
-
getContextPrinting
-
-
getCurrentLoggers
-
Returns an array this whole Logger instances.
-
getCurrentLoggers
-
Returns all the currently defined loggers in this hierarchy as an array.
-
getDatabaseHandle
-
Sometimes databases allow only one connection to themselves in one thread.
-
getDatabaseName
-
Returns the value of $databaseName parameter.
-
getDateFormat
-
-
getDatePattern
-
-
getDefaultConfiguration
-
Returns the default log4php configuration.
-
getDefaultLayout
-
Returns the default layout for this appender. Can be overriden by derived appenders.
-
getDefaultLayout
-
Override the default layout to use serialized.
-
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.
-
getExpandedFileName
-
Returns the value of the MaxBackupIndex option.
-
getFacility
-
Returns the $facility.
-
getFile
-
-
getFileName
-
-
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
-
-
getFooter
-
Returns the footer for the layout format.
-
getFooter
-
-
getFullInfo
-
Returns the full information of the caller.
-
getFullQualifiedClassname
-
Returns the full qualified classname.
-
getFullyQualifiedName
-
-
getFullyQualifiedName
-
-
getFullyQualifiedName
-
-
getHeader
-
-
getHeader
-
-
getHeader
-
Returns the header for the layout format.
-
getHierarchy
-
Returns the hierarchy used by this Logger.
-
getHost
-
Returns the value of $host parameter.
-
getHtmlLineBreaks
-
-
getIdent
-
Returns the $ident.
-
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.
-
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.
-
getLocationInformation
-
Set the location information for this logging event. The collected information is cached for future use.
-
getLog4jNamespace
-
-
getLogger
-
Returns a Logger by name. If it does not exist, it will be created.
-
getLogger
-
Returns a named logger instance logger. If it doesn't exist, one is 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.
-
getMaxBackupIndex
-
-
getMaxFileSize
-
-
getMaximumFileSize
-
Get the maximum size that the output file is allowed to reach before being rolled over to backup files.
-
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.
-
getMicroSecondsPrinting
-
-
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
-
getOption
-
Returns the $option.
-
getOverridePriority
-
Returns the $overridePriority.
-
getParent
-
Returns the parent Logger. Can be null if this is the root logger.
-
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.
-
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.
-
getSyslogPriority
-
Determines which syslog priority to use based on the given level.
-
getSystemProperty
-
Read a predefined var.
-
getTarget
-
-
getThreadName
-
-
getThreadPrinting
-
-
getThreshold
-
Returns the main threshold level.
-
getThreshold
-
Returns the appender's threshold level.
-
getThrowable
-
Return source exception
-
getThrowableInformation
-
-
getTime
-
Calculates the time of this event.
-
getTimeout
-
Returns the value of $timeout parameter.
-
getTimeout
-
Returns the timeout
-
getTimeStamp
-
-
getTitle
-
-
getUserName
-
Returns the value of $userName parameter.
-
$i
-
-
$ident
-
The ident string is added to each message. Typically the name of your application.
-
$initialized
-
Inidicates if log4php has been initialized
-
$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.
-
ignoresThrowable
-
-
info
-
Log a message object with the INFO Level.
-
INFO
-
-
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.
-
$layout
-
The appender's layout. Can be null if the appender does not use a layout.
-
$leftAlign
-
-
$leftAlign
-
-
$level
-
Integer level value.
-
$level
-
Level of the logging event.
-
$level
-
The assigned Logger level.
-
$levelMap
-
Contains a list of instantiated levels.
-
$levelMax
-
-
$levelMin
-
-
$levelStr
-
String representation of the level.
-
$levelToMatch
-
The level, when to match
-
$lineNumber
-
-
$literal
-
-
$locationInfo
-
Whether to include the event's location information (slow).
-
$locationInfo
-
The LocationInfo option takes a boolean value. By
-
$locationInfo
-
-
$locationInfo
-
If set to true then the file name and line number of the origin of the log statement will be output.
-
$log4jNamespace
-
If set to true, log4j namespace will be used instead of the log4php namespace.
-
$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
-
-
LEVEL_CONVERTER
-
-
LINE_LOCATION_CONVERTER
-
-
LITERAL_STATE
-
-
load
-
Loads and parses the INI configuration file.
-
loadXML
-
Loads and validates the XML.
-
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.
-
LOG4J_NS
-
-
LOG4J_NS_PREFIX
-
-
LOG4PHP_NS
-
-
LOG4PHP_NS_PREFIX
-
-
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
-
-
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
-
-
LoggerAppenderPool
-
Pool implmentation for LoggerAppender instances.
-
LoggerAppenderPool.php
-
-
LoggerAppenderRollingFile
-
LoggerAppenderRollingFile extends LoggerAppenderFile to backup the log files when they reach a certain size.
-
LoggerAppenderSocket
-
Appends events to a network socket.
-
LoggerAppenderSyslog
-
-
LoggerAutoloader
-
Class autoloader.
-
LoggerAutoloader.php
-
-
LoggerBasicPatternConverter
-
-
LoggerCategoryPatternConverter
-
-
LoggerClassNamePatternConverter
-
-
LoggerConfigurable
-
A base class from which all classes which have configurable properties are extended. Provides a generic setter with integrated validation.
-
LoggerConfigurable.php
-
-
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.
-
LoggerConfigurator
-
Interface for logger configurators.
-
LoggerConfigurator.php
-
-
LoggerConfiguratorDefault
-
Default implementation of the logger configurator.
-
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.
-
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.
-
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.
-
LoggerRendererException
-
Exception renderer
-
LoggerRendererMap
-
-
LoggerRendererObject
-
Implement this interface in order to render objects as strings using
LoggerRendererMap.
-
LoggerRoot
-
The root logger.
-
LoggerRoot.php
-
-
LoggerThrowableInformation
-
The internal representation of throwables.
-
LoggerThrowableInformation.php
-
-
LOGGER_PREFIX
-
Prefix used for defining a logger.
-
LoggerRendererDefault.php
-
-
LoggerRendererException.php
-
-
LoggerRendererMap.php
-
-
LoggerRendererObject.php
-
-
$parent
-
The parent logger. Set to null if this is the root logger.
-
$password
-
Password used to connect to the database.
-
$password
-
Database password
-
$pattern
-
The conversion pattern.
-
$pattern
-
-
$patternLength
-
-
$port
-
Mailserver port (win32 only).
-
$port
-
Target port
-
$port
-
Port on which the instance is bound.
-
$precision
-
-
$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.
-
parse
-
Parser.
-
parse
-
Parses the given configuration and returns the parsed configuration as a PHP array. Does not perform any configuration.
-
parseAppender
-
Parses an configuration line pertaining to an appender.
-
parseAppender
-
Parses an <appender> node.
-
parseAppenderReferences
-
Parses a <logger> node for appender references and returns them in an array.
-
parseConfiguration
-
Parses the <configuration> node.
-
parseFacility
-
Parses the facility string and returns the corresponding int value.
-
parseFile
-
Loads the configuration file from the given URL, determines which adapter to use, converts the configuration to a PHP array and returns it.
-
parseFilter
-
Parses a <filter> node.
-
parseLayout
-
Parses a <layout> node.
-
parseLogger
-
Parses a logger definition.
-
parseLogger
-
Parses a <logger> node.
-
parseOption
-
Parses a syslog option string and returns the correspodning int value.
-
parseParameters
-
Parses any <param> child nodes returning them in an array.
-
parsePriority
-
Parses the priority string and returns the corresponding int value.
-
parseRenderer
-
Parses a renderer definition.
-
parseRenderer
-
Parses a <renderer> node.
-
parseRootLogger
-
Parses a <root> node.
-
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
-
-
put
-
Stores a context value as identified with the key parameter into the context map.
-
$remoteHost
-
Target host.
-
$renderedMessage
-
The application supplied message rendered through the log4php objet rendering mechanism. At present renderedMessage == message.
-
$rendererMap
-
The logger renderer map.
-
$requiresLayout
-
This appender does not require a layout.
-
$requiresLayout
-
Appender does not require a layout.
-
$requiresLayout
-
This appender does not require a layout.
-
$requiresLayout
-
Set to true if the appender requires a layout.
-
$root
-
The root logger.
-
RELATIVE_TIME_CONVERTER
-
-
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.
-
render
-
Render objects by type casting
-
render
-
-
render
-
Render the entity passed as parameter as a String.
-
RENDERER_PREFIX
-
Prefix used for defining a renderer.
-
requiresLayout
-
Configurators call this method to determine if the appender requires a layout.
-
reset
-
-
resetConfiguration
-
Reset all values contained in this hierarchy instance to their default.
-
resetConfiguration
-
Destroy configurations for logger definitions
-
rollOver
-
Implements the usual roll over behaviour.
-
ROOT_LOGGER_NAME
-
Name to assign to the root logger.
-
ROOT_LOGGER_PREFIX
-
Prefix used for defining the root logger.
-
$smtpHost
-
Mailserver hostname (win32 only).
-
$spaces
-
-
$sql
-
A LoggerPatternLayout string used to format a valid insert query.
-
$stack
-
This is the repository of NDC stack
-
$startTime
-
-
$state
-
-
$stringToMatch
-
-
$subject
-
-
$subject
-
-
$syslogEquivalent
-
Equivalent syslog level.
-
SCHEMA_PATH
-
Path to the XML schema used for validation.
-
setAcceptOnMatch
-
-
setAcceptOnMatch
-
-
setAcceptOnMatch
-
-
setAdditivity
-
Sets the additivity flag.
-
setAppend
-
-
setBoolean
-
Setter function for boolean type.
-
setCategoryPrefixing
-
The CategoryPrefixing option specifies whether Category name is part of log output or not. This is true by default.
-
setCollectionName
-
Sets the value of $collectionName parameter.
-
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.
-
setDatabaseName
-
Sets the value of $databaseName parameter.
-
setDateFormat
-
-
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
-
-
setFile
-
Sets the file where the log output will go.
-
setFileName
-
Sets the file where the log output will go.
-
setFileSize
-
Setter for file size.
-
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.
-
setInteger
-
Setter function for integer type.
-
setLayout
-
Sets the appender layout.
-
setLevel
-
Setting a null value to the level of the root category may have catastrophic results.
-
setLevel
-
Set the Logger level.
-
setLevel
-
Setter function for LoggerLevel values.
-
setLevelMax
-
-
setLevelMin
-
-
setLevelToMatch
-
-
setLocationInfo
-
The LocationInfo option takes a boolean value. By
-
setLocationInfo
-
The $locationInfo option takes a boolean value. By default,
-
setLocationInfo
-
Sets the location information flag.
-
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
-
Sets the appender name.
-
setNumeric
-
Setter function for numeric type.
-
setOption
-
Sets the $option.
-
setOptions
-
Helper method which applies given options to an object which has setters for these options (such as appenders, layouts, etc.).
-
setOverridePriority
-
Sets the $overridePriority.
-
setParent
-
Sets the parent logger.
-
setParent
-
Always returns false.
-
setPassword
-
Sets the password for this connection.
-
setPassword
-
Sets the value of $password parameter.
-
setPort
-
Sets the value of $port parameter.
-
setPort
-
Sets the target port
-
setPort
-
-
setPositiveInteger
-
Setter function for integer type.
-
setPriority
-
Sets the $priority.
-
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
-
Sets the target host.
-
setSmtpHost
-
-
setSql
-
Sets the SQL string into which the event should be transformed.
-
setString
-
Setter function for string type.
-
setStringToMatch
-
-
setSubject
-
-
setSubject
-
-
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
-
Sets the main threshold level.
-
setThreshold
-
Sets the appender threshold.
-
setTimeout
-
Sets the timeout.
-
setTimeout
-
Sets the value of $timeout parameter.
-
setTitle
-
The Title option takes a String value. This option sets the document title of the generated HTML document.
-
setTo
-
-
setTo
-
-
setUser
-
Sets the username for this connection.
-
setUserName
-
Sets the value of $userName parameter.
-
shutdown
-
Safely close all appenders.
-
shutdown
-
Shutting down a hierarchy will safely close and remove all appenders in all loggers including the root logger.
-
spacePad
-
Fast space padding method.
-
STDERR
-
-
STDOUT
-
-
substVars
-
Perform variable substitution in string $val from the values of keys found with the getSystemProperty() method.
-
$table
-
Table name to write events. Used only for CREATE TABLE if $createTable is true.
-
$tail
-
-
$target
-
Can be 'php://stdout' or 'php://stderr'. But it's better to use keywords STDOUT and STDERR (case insensitive).
-
$threadName
-
The name of thread in which this logging event was generated.
-
$threadPrinting
-
-
$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
-
-
$timeout
-
Connection timeout in ms.
-
$timeout
-
Timeout value used when connecting to the database (in milliseconds).
-
$timeStamp
-
The number of seconds elapsed from 1/1/1970 until logging event was created plus microseconds if available.
-
$title
-
The Title option takes a String value. This option sets the document title of the generated HTML document.
-
$to
-
-
$to
-
-
$trueValues
-
String values which are converted to boolean TRUE.
-
$type
-
-
$type
-
-
THREAD_CONVERTER
-
-
THRESHOLD_PREFIX
-
Prefix used for defining logger threshold.
-
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
-
-
toInt
-
Returns the integer representation of this level.
-
toIntegerEx
-
Converts $value to integer, or throws an exception if not possible.
-
toLevel
-
Convert the input argument to a level. If the conversion fails, then this method returns the provided default level.
-
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.
-
toString
-
Returns the string representation of this level.
-
toString
-
Serialize this object
-
toStringEx
-
Converts a value to string, or throws an exception if not possible.
-
TRACE
-
-
trace
-
Log a message object with the TRACE level.
-
TTCC_CONVERSION_PATTERN
-
Default conversion TTCC Pattern