32 $socket = $this->getMock(
'\Monolog\Handler\SyslogUdp\UdpSocket',
array(
'write'),
array(
'lol',
'lol'));
33 $socket->expects($this->at(0))
35 ->with(
"lol",
"<".(LOG_AUTHPRIV + LOG_WARNING).
">1 ");
36 $socket->expects($this->at(1))
38 ->with(
"hej",
"<".(LOG_AUTHPRIV + LOG_WARNING).
">1 ");
testWeValidateFacilities()
UnexpectedValueException
A Handler for logging to a remote syslogd server.
const WARNING
Exceptional occurrences that are not errors.
Create styles array
The data for the language used.
getRecordWithMessage($msg)