Class \Prado\Util\Cron\TShellCronLogBehavior
TShellCronLogBehavior class.
Enables cron logging to the shell. It also encapsulates the TShellWriter and basic dyWrite, dyWriteLine, and dyFlush functionality.
Class hierarchy
- \Prado\Util\Cron\TShellCronLogBehavior
- \Prado\Util\TBehavior implements IBehavior
- \Prado\Util\TBaseBehavior implements IBaseBehavior uses TPriorityPropertyTrait
- \Prado\TApplicationComponent
- \Prado\TComponent
Since: 4.2.0
public
|
|
public
|
|
public
|
|
public
|
dyLogCronTask(TCronTask $task, string $username, TCallChain $callchain) : mixed
Logs a single cron task when run in the shell.
|
public
|
dyLogCronTaskEnd(TCronTask $task, TCallChain $callchain) : mixed
Logs the end of a single cron task when run in the shell.
|
public
|
dyWrite(string $str, array<string|int, mixed>|int|TCallChain|string $p1[, null|TCallChain $p2 = null ]) : mixed
writes, with attributes, to the OutputWriter
|
public
|
dyWriteLine(string $str, array<string|int, mixed>|int|TCallChain|string $p1[, null|TCallChain $p2 = null ]) : mixed
writes Line, with attributes, to the OutputWriter
|
public
|
|
public
|
\Prado\TApplicationComponent::FX_CACHE_FILE, \Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |