프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$logContext | |||
$logExtra | |||
$numberOfWords |
메소드 | 설명 | |
---|---|---|
__construct ( string $format = null, boolean $logContext = true, boolean $logExtra = true, integer $numberOfWords = 2 ) | ||
format ( array $record ) | ||
formatBatch ( array $records ) | ||
getFirstWords ( string $message ) : string | This function converts a long message into a string with the first N-words. |
public __construct ( string $format = null, boolean $logContext = true, boolean $logExtra = true, integer $numberOfWords = 2 ) | ||
$format | string | The format of the message |
$logContext | boolean | If true add multiple rows containing Context information |
$logExtra | boolean | If true add multiple rows containing Extra information |
$numberOfWords | integer | The number of words to show. |
public getFirstWords ( string $message ) : string | ||
$message | string | The message to shortify. |
리턴 | string |