Documentation

FleepHookHandlerTest extends TestCase
in package

Tags
coversDefaultClass

\Monolog\Handler\FleepHookHandler

Table of Contents

TOKEN  = '123abc'
Default token to use in tests
$handler  : FleepHookHandler
setUp()  : mixed
testConnectionStringisConstructedCorrectly()  : mixed
testConstructorSetsExpectedDefaults()  : mixed
testHandlerUsesLineFormatterWhichIgnoresEmptyArrays()  : mixed
getIdentityFormatter()  : FormatterInterface
getMultipleRecords()  : array<string|int, mixed>
getRecord()  : array<string|int, mixed>

Constants

Properties

Methods

testConnectionStringisConstructedCorrectly()

public testConnectionStringisConstructedCorrectly() : mixed
Tags
covers
Return values
mixed

testConstructorSetsExpectedDefaults()

public testConstructorSetsExpectedDefaults() : mixed
Tags
covers
Return values
mixed

testHandlerUsesLineFormatterWhichIgnoresEmptyArrays()

public testHandlerUsesLineFormatterWhichIgnoresEmptyArrays() : mixed
Tags
covers
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

Search results