setasign\SetaPDF2\Signer\ValidationRelatedInfo

LogEntry Class representing a log entry.

File: /SetaPDF v2/Signer/ValidationRelatedInfo/LogEntry.php
Old class name (alias): \SetaPDF_Signer_ValidationRelatedInfo_LogEntry

Class hierarchy

Implements

Summary

Properties

$_context

protected array LogEntry::$_context

Context information.

$_dateTime

$_depth

protected int LogEntry::$_depth

Log depth.

$_message

protected string LogEntry::$_message

The message.


Methods

__construct()

public LogEntry::__construct (
string $message,
?array $context = null,
int $depth = 0
)

The constructor.

Parameters
$message : string
 
$context : ?array
 
$depth : int
 

__toString()

public LogEntry::__toString (
void
): string

Get the message merged with context information as a string.

getDateTime()

Get the date time object when this object was created.

getDepth()

public LogEntry::getDepth (
void
): int

Get the depth.

getMessage()

public LogEntry::getMessage (
void
): string

Get the message merged with context information.