Files
pathfinder/app/main/lib/logging/LogInterface.php
Mark Friedrich e28fea9081 - new "ESI monitoring" UI dialog, closed #748
- new "Redis monitoring" UI on `/setup` page, closed #745
- improved request handling for 3rd party APIs (ESI, SSO, GitHub) see [exodus4d/pathfinder_esi/README.md](https://github.com/exodus4d/pathfinder_esi/blob/b5d4b19/README.md)
- improved `/setup` page, new actions for clear cache/Redis data
2019-02-08 15:12:53 +01:00

67 lines
1.5 KiB
PHP

<?php
/**
* Created by PhpStorm.
* User: exodu
* Date: 05.08.2017
* Time: 14:10
*/
namespace lib\logging;
interface LogInterface {
public function setMessage(string $message);
public function setLevel(string $level);
public function setTag(string $tag);
public function setData(array $data): LogInterface;
public function setTempData(array $data): LogInterface;
public function addHandler(string $handlerKey, string $formatterKey = null, \stdClass $handlerParams = null): LogInterface;
public function addHandlerGroup(string $handlerKey): LogInterface;
public function getHandlerConfig(): array;
public function getHandlerParamsConfig(): array;
public function getProcessorConfig(): array;
public function getHandlerParams(string $handlerKey): array;
public function getMessage(): string;
public function getAction(): string;
public function getChannelType(): string;
public function getChannelName(): string;
public function getLevel(): string;
public function getData(): array;
public function getContext(): array;
public function getHandlerGroups(): array;
public function getGroupHash(): string;
public function hasHandlerKey(string $handlerKey): bool;
public function hasHandlerGroupKey(string $handlerKey): bool;
public function hasBuffer(): bool;
public function isGrouped(): bool;
public function removeHandlerGroups();
public function removeHandlerGroup(string $handlerKey);
public function buffer();
}