mirror of
https://github.com/Karaka-Management/oms-Monitoring.git
synced 2026-01-11 16:38:40 +00:00
Logger draft
This commit is contained in:
parent
b3a6ee3d2f
commit
5c339221b9
34
Models/Log.php
Normal file
34
Models/Log.php
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
<?php
|
||||
|
||||
class Log implements \JsonSerializable
|
||||
{
|
||||
private $id = 0;
|
||||
|
||||
private $createdAt = null;
|
||||
|
||||
private $createdBy = null;
|
||||
|
||||
private $raw = '';
|
||||
|
||||
private $layout = 0;
|
||||
|
||||
public function __construct(string $message = '', int $layout = 0)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function get(string $key) : string
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
||||
public function toArray() : array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
public function jsonSerialize()
|
||||
{
|
||||
return json_encode($this->toArray());
|
||||
}
|
||||
}
|
||||
0
Models/LogMapper.php
Normal file
0
Models/LogMapper.php
Normal file
Loading…
Reference in New Issue
Block a user