PHP Class Phprest\ErrorHandler\Handler\LogTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: phprest/phprest

Protected Properties

Property Type Description
$logHandler Log
$monolog Monolog\Logger
$monologHandler Monolog\Handler\TestHandler

Public Methods

Method Description
setUp ( )
testErrorExceptionErrorLog ( )
testInfoExceptionErrorLog ( )
testNoticeExceptionErrorLog ( )
testPhprestException ( )
testSimpleException ( )
testWarningExceptionErrorLog ( )

Method Details

setUp() public method

public setUp ( )

testErrorExceptionErrorLog() public method

testInfoExceptionErrorLog() public method

testNoticeExceptionErrorLog() public method

testPhprestException() public method

testSimpleException() public method

public testSimpleException ( )

testWarningExceptionErrorLog() public method

Property Details

$logHandler protected property

protected Log,Phprest\ErrorHandler\Handler $logHandler
return Log

$monolog protected property

protected Logger,Monolog $monolog
return Monolog\Logger

$monologHandler protected property

protected TestHandler,Monolog\Handler $monologHandler
return Monolog\Handler\TestHandler