SetaPDF_Signer_ValidationRelatedInfo_Logger The standard logger implementation
File: /SetaPDF v2/Signer/ValidationRelatedInfo/Logger.php
Class hierarchy
Implements
Summary
Properties
$_logs
protected SetaPDF_Signer_ValidationRelatedInfo_LogEntry[] SetaPDF_Signer_ValidationRelatedInfo_Logger::$_logs = array()
The log entries.
Methods
decreaseDepth()
public SetaPDF_Signer_ValidationRelatedInfo_Logger::decreaseDepth (
void
): SetaPDF_Signer_ValidationRelatedInfo_LoggerInterfaceThis decreases the depth level which should be forward to new log entry instances.
getLogs()
public SetaPDF_Signer_ValidationRelatedInfo_Logger::getLogs (
void
): SetaPDF_Signer_ValidationRelatedInfo_LogEntry[]Get all logs.
increaseDepth()
public SetaPDF_Signer_ValidationRelatedInfo_Logger::increaseDepth (
void
): SetaPDF_Signer_ValidationRelatedInfo_LoggerInterfaceThis increases the depth level which should be forward to new log entry instances.
By a "depth" value it is possible to visualize the process in more detailed levels.
log()
public SetaPDF_Signer_ValidationRelatedInfo_Logger::log (
string $message [, array $context = array (
) ]
): SetaPDF_Signer_ValidationRelatedInfo_LoggerInterfaceLog a message.
Parameters
- $message : string
- $context : array
setDirectOutput()
Set a flag that defines whether a log message is output directly.
Parameters
- $directOutput : boolean