Trace
in package
Class to facilitate Traces for an application author: hl@cloudframework.io
Table of Contents
Properties
Methods
- __construct() : mixed
- addError() : mixed
- createEntity() : array<string|int, mixed>|bool
Properties
$ds
public
mixed
$ds
$error
public
mixed
$error
= \false
$errorMsg
public
mixed
$errorMsg
= []
$core
private
mixed
$core
Methods
__construct()
public
__construct(Core7 &$core[, mixed $spacename = 'cloudframework' ]) : mixed
Parameters
- $core : Core7
- $spacename : mixed = 'cloudframework'
addError()
public
addError(mixed $err) : mixed
Parameters
- $err : mixed
createEntity()
public
createEntity(array<string|int, mixed> $data) : array<string|int, mixed>|bool
Parameters
- $data : array<string|int, mixed>
-
Array with fields to insert in logs. Require ['App'],['Cat']['Type']['Title']