PHP 클래스 Phalcon\Test\Unit\Logger\Adapter\FileTest

저자: Andres Gutierrez ([email protected])
저자: Nikolaos Dimopoulos ([email protected])
파일 보기 프로젝트 열기: phalcon/cphalcon

보호된 프로퍼티들

프로퍼티 타입 설명
$logPath

공개 메소드들

메소드 설명
_before ( ) executed before each test
testLoggerAdapterFileAlertCreationOfLogFile ( ) Tests the creation of the log file with alert()
testLoggerAdapterFileAlertLogLogging ( ) Tests ALERT logging with alert()
testLoggerAdapterFileAlertLogging ( ) Tests ALERT logging
testLoggerAdapterFileAlertNumberOfMessagesLogged ( ) Tests how many lines the file has on creation with alert()
testLoggerAdapterFileCommit ( ) Tests the begin/commit
testLoggerAdapterFileCreationDefault ( ) Tests the creation of the log file
testLoggerAdapterFileCreationWrite ( ) Tests the creation of the log file +w
testLoggerAdapterFileDebugCreationOfLogFile ( ) Tests the creation of the log file with debug()
testLoggerAdapterFileDebugLogLogging ( ) Tests DEBUG logging with debug()
testLoggerAdapterFileDebugLogging ( ) Tests DEBUG logging
testLoggerAdapterFileDebugNumberOfMessagesLogged ( ) Tests how many lines the file has on creation with debug()
testLoggerAdapterFileDefaultLoggingUsesDebug ( ) Tests default logging uses EMERGENCY
testLoggerAdapterFileErrorCreationOfLogFile ( ) Tests the creation of the log file with error()
testLoggerAdapterFileErrorLogLogging ( ) Tests ERROR logging with error()
testLoggerAdapterFileErrorLogging ( ) Tests ERROR logging
testLoggerAdapterFileErrorNumberOfMessagesLogged ( ) Tests how many lines the file has on creation with error()
testLoggerAdapterFileInfoCreationOfLogFile ( ) Tests the creation of the log file with info()
testLoggerAdapterFileInfoLogLogging ( ) Tests ERROR logging with info()
testLoggerAdapterFileInfoLogging ( ) Tests INFO logging
testLoggerAdapterFileInfoNumberOfMessagesLogged ( ) Tests how many lines the file has on creation with info()
testLoggerAdapterFileMultipleLogLevelsSetProperly ( ) Tests multiple log levels
testLoggerAdapterFileNewFormatFormatsDateCorrectly ( ) Tests new format logs correctly
testLoggerAdapterFileNewFormatLogsCorrectly ( ) Tests new format logs correctly
testLoggerAdapterFileNoticeCreationOfLogFile ( ) Tests the creation of the log file with notice()
testLoggerAdapterFileNoticeLogLogging ( ) Tests NOTICE logging with notice()
testLoggerAdapterFileNoticeLogging ( ) Tests NOTICE logging
testLoggerAdapterFileNoticeNumberOfMessagesLogged ( ) Tests how many lines the file has on creation with notice()
testLoggerAdapterFileNumberOfMessagesLogged ( ) Tests how many lines the file has on creation
testLoggerAdapterFileOpenReadThrowsException ( ) Tests if opening the file with r and logging throws exception
testLoggerAdapterFileRollback ( ) Tests the begin/rollback
testLoggerAdapterFileSetGetFormat ( ) Tests set/getFormat
testLoggerAdapterFileSettingJsonFormatter ( ) Tests setting Json formatter
testLoggerAdapterFileWarningCreationOfLogFile ( ) Tests the creation of the log file with warning()
testLoggerAdapterFileWarningLogLogging ( ) Tests WARNING logging with warning()
testLoggerAdapterFileWarningLogging ( ) Tests WARNING logging
testLoggerAdapterFileWarningNumberOfMessagesLogged ( ) Tests how many lines the file has on creation with warning()
testMultipleLoggers ( ) Tests multiple loggers

보호된 메소드들

메소드 설명
createOfLogFile ( string $function ) Runs the test for the creation of a file with logging
logging ( $function ) Runs logging test
numberOfMessagesLogged ( string $function ) Runs the test for how many lines the file has on creation
runLogging ( mixed $level, null $name = null ) Runs the various logging function testLoggerAdapterFiles

메소드 상세

_before() 공개 메소드

executed before each test
public _before ( )

createOfLogFile() 보호된 메소드

Runs the test for the creation of a file with logging
부터: 2014-09-13
저자: Nikos Dimopoulos ([email protected])
protected createOfLogFile ( string $function )
$function string

logging() 보호된 메소드

Runs logging test
부터: 2012-09-17
저자: Nikos Dimopoulos ([email protected])
protected logging ( $function )
$function

numberOfMessagesLogged() 보호된 메소드

Runs the test for how many lines the file has on creation
부터: 2014-09-13
저자: Nikos Dimopoulos ([email protected])
protected numberOfMessagesLogged ( string $function )
$function string

runLogging() 보호된 메소드

Runs the various logging function testLoggerAdapterFiles
부터: 2014-09-13
저자: Nikos Dimopoulos ([email protected])
protected runLogging ( mixed $level, null $name = null )
$level mixed
$name null

testLoggerAdapterFileAlertCreationOfLogFile() 공개 메소드

Tests the creation of the log file with alert()
부터: 2014-09-13
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileAlertLogLogging() 공개 메소드

Tests ALERT logging with alert()
부터: 2012-09-17
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileAlertLogging() 공개 메소드

Tests ALERT logging
부터: 2012-09-17
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileAlertNumberOfMessagesLogged() 공개 메소드

Tests how many lines the file has on creation with alert()
부터: 2014-09-13
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileCommit() 공개 메소드

Tests the begin/commit
부터: 2014-09-13
저자: Nikolaos Dimopoulos ([email protected])

testLoggerAdapterFileCreationDefault() 공개 메소드

Tests the creation of the log file
부터: 2014-09-13
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileCreationWrite() 공개 메소드

Tests the creation of the log file +w
부터: 2014-09-13
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileDebugCreationOfLogFile() 공개 메소드

Tests the creation of the log file with debug()
부터: 2014-09-13
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileDebugLogLogging() 공개 메소드

Tests DEBUG logging with debug()
부터: 2012-09-17
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileDebugLogging() 공개 메소드

Tests DEBUG logging
부터: 2012-09-17
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileDebugNumberOfMessagesLogged() 공개 메소드

Tests how many lines the file has on creation with debug()
부터: 2014-09-13
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileDefaultLoggingUsesDebug() 공개 메소드

Tests default logging uses EMERGENCY
부터: 2014-09-13
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileErrorCreationOfLogFile() 공개 메소드

Tests the creation of the log file with error()
부터: 2014-09-13
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileErrorLogLogging() 공개 메소드

Tests ERROR logging with error()
부터: 2012-09-17
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileErrorLogging() 공개 메소드

Tests ERROR logging
부터: 2012-09-17
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileErrorNumberOfMessagesLogged() 공개 메소드

Tests how many lines the file has on creation with error()
부터: 2014-09-13
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileInfoCreationOfLogFile() 공개 메소드

Tests the creation of the log file with info()
부터: 2014-09-13
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileInfoLogLogging() 공개 메소드

Tests ERROR logging with info()
부터: 2012-09-17
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileInfoLogging() 공개 메소드

Tests INFO logging
부터: 2012-09-17
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileInfoNumberOfMessagesLogged() 공개 메소드

Tests how many lines the file has on creation with info()
부터: 2014-09-13
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileMultipleLogLevelsSetProperly() 공개 메소드

Tests multiple log levels
부터: 2012-09-17
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileNewFormatFormatsDateCorrectly() 공개 메소드

Tests new format logs correctly
부터: 2012-09-17
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileNewFormatLogsCorrectly() 공개 메소드

Tests new format logs correctly
부터: 2012-09-17
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileNoticeCreationOfLogFile() 공개 메소드

Tests the creation of the log file with notice()
부터: 2014-09-13
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileNoticeLogLogging() 공개 메소드

Tests NOTICE logging with notice()
부터: 2012-09-17
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileNoticeLogging() 공개 메소드

Tests NOTICE logging
부터: 2012-09-17
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileNoticeNumberOfMessagesLogged() 공개 메소드

Tests how many lines the file has on creation with notice()
부터: 2014-09-13
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileNumberOfMessagesLogged() 공개 메소드

Tests how many lines the file has on creation
부터: 2014-09-13
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileOpenReadThrowsException() 공개 메소드

Tests if opening the file with r and logging throws exception
부터: 2014-09-13
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileRollback() 공개 메소드

Tests the begin/rollback
부터: 2014-09-13
저자: Nikolaos Dimopoulos ([email protected])

testLoggerAdapterFileSetGetFormat() 공개 메소드

Tests set/getFormat
부터: 2012-09-17
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileSettingJsonFormatter() 공개 메소드

Tests setting Json formatter
부터: 2016-01-28
저자: Serghei Iakovlev ([email protected])

testLoggerAdapterFileWarningCreationOfLogFile() 공개 메소드

Tests the creation of the log file with warning()
부터: 2014-09-13
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileWarningLogLogging() 공개 메소드

Tests WARNING logging with warning()
부터: 2012-09-17
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileWarningLogging() 공개 메소드

Tests WARNING logging
부터: 2012-09-17
저자: Nikos Dimopoulos ([email protected])

testLoggerAdapterFileWarningNumberOfMessagesLogged() 공개 메소드

Tests how many lines the file has on creation with warning()
부터: 2014-09-13
저자: Nikos Dimopoulos ([email protected])

testMultipleLoggers() 공개 메소드

Tests multiple loggers
부터: 2016-01-28
저자: Serghei Iakovlev ([email protected])
public testMultipleLoggers ( )

프로퍼티 상세

$logPath 보호되어 있는 프로퍼티

protected $logPath