Documentation

FlowdockFormatter
in package
implements FormatterInterface

formats the record to be used in the FlowdockHandler

Tags
author

Dominik Liebler liebler.dominik@gmail.com

deprecated

Since 2.9.0 and 3.3.0, Flowdock was shutdown we will thus drop this handler in Monolog 4

Interfaces, Classes and Traits

FormatterInterface
Interface for formatters

Table of Contents

$source  : string
$sourceEmail  : string
__construct()  : mixed
format()  : array<string|int, mixed>
Formats a log record.
formatBatch()  : array<string|int, array<string|int, mixed>>
Formats a set of log records.
getShortMessage()  : string

Properties

Methods

__construct()

public __construct(string $source, string $sourceEmail) : mixed
Parameters
$source : string
$sourceEmail : string
Return values
mixed

format()

Formats a log record.

public format(array<string|int, mixed> $record) : array<string|int, mixed>
Parameters
$record : array<string|int, mixed>

A record to format

Return values
array<string|int, mixed>

formatBatch()

Formats a set of log records.

public formatBatch(array<string|int, mixed> $records) : array<string|int, array<string|int, mixed>>
Parameters
$records : array<string|int, mixed>

A set of records to format

Return values
array<string|int, array<string|int, mixed>>

getShortMessage()

public getShortMessage(string $message) : string
Parameters
$message : string
Return values
string

Search results