Documentation

SyslogUdpHandlerTest extends TestCase
in package

Tags
requires

extension sockets

Table of Contents

testSplitWorksOnEmptyMsg()  : mixed
testWeSplitIntoLines()  : mixed
testWeValidateFacilities()  : mixed
getIdentityFormatter()  : FormatterInterface
getMultipleRecords()  : array<string|int, mixed>
getRecord()  : array<string|int, mixed>
getRecordWithMessage()  : mixed

Methods

testSplitWorksOnEmptyMsg()

public testSplitWorksOnEmptyMsg() : mixed
Return values
mixed

testWeValidateFacilities()

public testWeValidateFacilities() : mixed
Tags
expectedException

UnexpectedValueException

Return values
mixed

getIdentityFormatter()

protected getIdentityFormatter() : FormatterInterface
Return values
FormatterInterface

getMultipleRecords()

protected getMultipleRecords() : array<string|int, mixed>
Return values
array<string|int, mixed>

getRecord()

protected getRecord([mixed $level = Logger::WARNING ][, mixed $message = 'test' ][, mixed $context = array() ]) : array<string|int, mixed>
Parameters
$level : mixed = Logger::WARNING
$message : mixed = 'test'
$context : mixed = array()
Return values
array<string|int, mixed>

Record

getRecordWithMessage()

protected getRecordWithMessage(mixed $msg) : mixed
Parameters
$msg : mixed
Return values
mixed

Search results