Properties

$appname

$appname : 

Type

$customParameters

$customParameters : 

Type

$transactionName

$transactionName : 

Type

Methods

setUp()

setUp() 

testThehandlerThrowsAnExceptionIfTheNRExtensionIsNotLoaded()

testThehandlerThrowsAnExceptionIfTheNRExtensionIsNotLoaded() 

testThehandlerCanHandleTheRecord()

testThehandlerCanHandleTheRecord() 

testThehandlerCanAddContextParamsToTheNewRelicTrace()

testThehandlerCanAddContextParamsToTheNewRelicTrace() 

testThehandlerCanAddExplodedContextParamsToTheNewRelicTrace()

testThehandlerCanAddExplodedContextParamsToTheNewRelicTrace() 

testThehandlerCanAddExtraParamsToTheNewRelicTrace()

testThehandlerCanAddExtraParamsToTheNewRelicTrace() 

testThehandlerCanAddExplodedExtraParamsToTheNewRelicTrace()

testThehandlerCanAddExplodedExtraParamsToTheNewRelicTrace() 

testThehandlerCanAddExtraContextAndParamsToTheNewRelicTrace()

testThehandlerCanAddExtraContextAndParamsToTheNewRelicTrace() 

testThehandlerCanHandleTheRecordsFormattedUsingTheLineFormatter()

testThehandlerCanHandleTheRecordsFormattedUsingTheLineFormatter() 

testTheAppNameIsNullByDefault()

testTheAppNameIsNullByDefault() 

testTheAppNameCanBeInjectedFromtheConstructor()

testTheAppNameCanBeInjectedFromtheConstructor() 

testTheAppNameCanBeOverriddenFromEachLog()

testTheAppNameCanBeOverriddenFromEachLog() 

testTheTransactionNameIsNullByDefault()

testTheTransactionNameIsNullByDefault() 

testTheTransactionNameCanBeInjectedFromTheConstructor()

testTheTransactionNameCanBeInjectedFromTheConstructor() 

testTheTransactionNameCanBeOverriddenFromEachLog()

testTheTransactionNameCanBeOverriddenFromEachLog() 

getRecord()

getRecord(  $level = \Monolog\Logger::WARNING,   $message = 'test',   $context = array()) : array

Parameters

$level
$message
$context

Returns

array —

Record

getMultipleRecords()

getMultipleRecords() : array

Returns

array

getIdentityFormatter()

getIdentityFormatter() : \Monolog\Monolog\Formatter\FormatterInterface

Returns

\Monolog\Monolog\Formatter\FormatterInterface