MetricsLogMessage
in package
implements
jILogMessage
Message class for metrics, to use with jLog.
Table of Contents
Interfaces
- jILogMessage
Properties
Methods
- __construct() : mixed
- rmqSaasLogMessage constructor.
- addContent() : mixed
- getCategory() : mixed
- getFormatedMessage() : mixed
- getMessage() : mixed
Properties
$category
protected
string
$category
the category of the message
$content
protected
array<string|int, mixed>
$content
the message
Methods
__construct()
rmqSaasLogMessage constructor.
public
__construct(array<string|int, mixed> $content[, string $category = 'default' ]) : mixed
Parameters
- $content : array<string|int, mixed>
- $category : string = 'default'
addContent()
public
addContent(array<string|int, mixed> $data) : mixed
Parameters
- $data : array<string|int, mixed>
getCategory()
public
getCategory() : mixed
getFormatedMessage()
public
getFormatedMessage() : mixed
getMessage()
public
getMessage() : mixed