PHP Класс Phalcon\Test\Unit\Logger\Adapter\FileTest

Автор: Andres Gutierrez ([email protected])
Автор: Nikolaos Dimopoulos ([email protected])
Наследование: extends Phalcon\Test\Module\UnitTest
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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