Class LoggerPatternConverterDate
Returns the date/time of the logging request.
Option: the datetime format, as used by the date() function. If the option is not given, the default format 'c' will be used.
There are several "special" values which can be given for this option: 'ISO8601', 'ABSOLUTE' and 'DATE'.
- LoggerPatternConverter
- LoggerPatternConverterDate
Package: log4php\pattern
Version: $Revision: 1326626 $
Since: 2.3
Located at pattern/LoggerPatternConverterDate.php
Version: $Revision: 1326626 $
Since: 2.3
Located at pattern/LoggerPatternConverterDate.php
public
|
#
activateOptions( )
Called in constructor. Converters which need to process the options can override this method. |
public
|
#
convert(
Converts the logging event to the desired format. Derived pattern converters must implement this method. |
__construct(),
format()
|
string |
DATE_FORMAT_ISO8601
|
'c' |
|
string |
DATE_FORMAT_ABSOLUTE
|
'H:i:s' |
|
string |
DATE_FORMAT_DATE
|
'd M Y H:i:s.u' |
$formattingInfo,
$next,
$option
|