MediaWiki  1.29.1
MediaWiki\Logger\Monolog\LogstashFormatterTest Class Reference
Inheritance diagram for MediaWiki\Logger\Monolog\LogstashFormatterTest:
Collaboration diagram for MediaWiki\Logger\Monolog\LogstashFormatterTest:

Public Member Functions

 provideV1 ()
 
 testV1 (array $record, array $expected, array $notExpected)
 provideV1 More...
 
 testV1WithPrefix ()
 

Detailed Description

Definition at line 5 of file LogstashFormatterTest.php.

Member Function Documentation

◆ provideV1()

MediaWiki\Logger\Monolog\LogstashFormatterTest::provideV1 ( )

Definition at line 24 of file LogstashFormatterTest.php.

◆ testV1()

MediaWiki\Logger\Monolog\LogstashFormatterTest::testV1 ( array  $record,
array  $expected,
array  $notExpected 
)

provideV1

Parameters
array$recordThe input record.
array$expectedAssociative array of expected keys and their values.
array$notExpectedList of keys that should not exist.

Definition at line 12 of file LogstashFormatterTest.php.

References $value, as, and true.

◆ testV1WithPrefix()

MediaWiki\Logger\Monolog\LogstashFormatterTest::testV1WithPrefix ( )

Definition at line 45 of file LogstashFormatterTest.php.

References true.


The documentation for this class was generated from the following file: