class QueuedJobLogHandler extends AbstractProcessingHandler (View source)

Handler for logging events into QueuedJob message data

Properties

protected QueuedJob $queuedJob

Job to log to

Methods

public
__construct(QueuedJob $queuedJob, int $level = Logger::DEBUG, bool $bubble = true)

No description

public
setQueuedJob(QueuedJob $queuedJob)

Set a new queuedjob

public
getQueuedJob()

Get queuedjob

protected
write(array $record)

No description

Details

__construct(QueuedJob $queuedJob, int $level = Logger::DEBUG, bool $bubble = true)

No description

Parameters

QueuedJob $queuedJob

Job to log to

int $level

The minimum logging level at which this handler will be triggered

bool $bubble

Whether the messages that are handled can bubble up the stack or not

setQueuedJob(QueuedJob $queuedJob)

Set a new queuedjob

Parameters

QueuedJob $queuedJob

QueuedJob getQueuedJob()

Get queuedjob

Return Value

QueuedJob

protected write(array $record)

No description

Parameters

array $record