- BC Break: Project folder structure changed. Removed `app/main` dir. - BC Break: Core _PHP_ framework + dependencies moved into `composer.json` and are no longer part of this repo
42 lines
810 B
PHP
42 lines
810 B
PHP
<?php
|
|
/**
|
|
* Created by PhpStorm.
|
|
* User: Exodus 4D
|
|
* Date: 07.10.2017
|
|
* Time: 14:15
|
|
*/
|
|
|
|
namespace Exodus4D\Pathfinder\Lib\Logging;
|
|
|
|
|
|
class UserLog extends AbstractChannelLog {
|
|
|
|
/**
|
|
* List of possible handlers (tested)
|
|
* -> final handler will be set dynamic for per instance
|
|
* @var array
|
|
*/
|
|
protected $handlerConfig = [
|
|
// 'mail' => 'html'
|
|
];
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
protected $channelType = 'user';
|
|
|
|
/**
|
|
* UserLog constructor.
|
|
* @param string $action
|
|
* @param array $objectData
|
|
* @throws \Exception
|
|
*/
|
|
public function __construct(string $action, array $objectData){
|
|
parent::__construct($action, $objectData);
|
|
|
|
$this->setLevel('notice');
|
|
$this->setTag('information');
|
|
}
|
|
|
|
|
|
} |