Logger
in package
Table of Contents
Properties
- $count : int
- $current : string
- $destinationPath : string
- $errors : array<string|int, mixed>
- $excludeLogStatusCodes : array<string|int, mixed>
- $max : int
- $processingName : string
- $processList : array<string|int, mixed>
- $removedFiles : array<string|int, array{path: string}>
- $terminateFlag : TerminateCheck
Methods
- destroy() : mixed
- error() : mixed
- getDestinationPath() : mixed
- getJson() : array<string|int, mixed>
- Get json object
- init() : mixed
- initLog() : mixed
- processing() : mixed
- removedFile() : mixed
- start() : mixed
- build() : mixed
Properties
$count
protected
int
$count
= 0
$current
protected
string
$current
$destinationPath
protected
string
$destinationPath
= ''
$errors
protected
array<string|int, mixed>
$errors
= []
$excludeLogStatusCodes
protected
array<string|int, mixed>
$excludeLogStatusCodes
= []
$max
protected
int
$max
= 0
$processingName
protected
string
$processingName
= ''
$processList
protected
array<string|int, mixed>
$processList
= []
$removedFiles
protected
array<string|int, array{path: string}>
$removedFiles
= []
$terminateFlag
protected
TerminateCheck
$terminateFlag
Methods
destroy()
public
destroy() : mixed
error()
public
error(mixed $message[, mixed $path = '' ][, mixed $code = null ]) : mixed
Parameters
- $message : mixed
- $path : mixed = ''
- $code : mixed = null
getDestinationPath()
public
getDestinationPath() : mixed
getJson()
Get json object
public
getJson() : array<string|int, mixed>
Return values
array<string|int, mixed>init()
public
init(string $path, TerminateCheck $terminate_flag[, mixed $excludeLogStatusCodes = [] ]) : mixed
Parameters
- $path : string
- $terminate_flag : TerminateCheck
- $excludeLogStatusCodes : mixed = []
initLog()
public
initLog() : mixed
processing()
public
processing([mixed $current = '' ]) : mixed
Parameters
- $current : mixed = ''
removedFile()
public
removedFile(string $path) : mixed
Parameters
- $path : string
start()
public
start(mixed $name[, mixed $max = 1 ]) : mixed
Parameters
- $name : mixed
- $max : mixed = 1
build()
protected
build() : mixed