MainLoggerThread
extends Thread
Table of Contents
-
$buffer
: Threaded
-
$logFile
: string
-
$shutdown
: bool
-
$syncFlush
: bool
-
__construct()
: mixed
-
run()
: void
-
shutdown()
: void
-
syncFlushBuffer()
: void
-
write()
: void
-
writeLogStream()
: void
$buffer
private
Threaded
$buffer
$logFile
private
string
$logFile
$shutdown
private
bool
$shutdown
= false
$syncFlush
private
bool
$syncFlush
= false
__construct()
public
__construct(string $logFile) : mixed
Parameters
-
$logFile
: string
-
Return values
mixed
—
run()
public
run() : void
Return values
void
—
shutdown()
public
shutdown() : void
Return values
void
—
syncFlushBuffer()
public
syncFlushBuffer() : void
Return values
void
—
write()
public
write(string $line) : void
Parameters
-
$line
: string
-
Return values
void
—
writeLogStream()
private
writeLogStream(resource $logResource) : void
Parameters
-
$logResource
: resource
-
Return values
void
—