AbstractTcpLogger
abstract class AbstractTcpLogger implements LoggerInterface (View source)
Send message to TCP server
Traits
LoggerTrait
Methods
string
formatMessage(string $level, unknown $message, array $context = array())
No description
__construct(string $host, integer $port)
No description
__destruct()
Close connection
boolean
isConnected()
Indicates if the TCP socket is valid
log($level, $message, array $context = array())
Send message over TCP
Details
at line 31
abstract string
formatMessage(string $level, unknown $message, array $context = array())
at line 41
__construct(string $host, integer $port)
at line 49
__destruct()
Close connection
at line 60
boolean
isConnected()
Indicates if the TCP socket is valid
at line 71
log($level, $message, array $context = array())
Send message over TCP
{@inheritdoc}