Properties

$levels_delimiter

$levels_delimiter : 

Type

$data

$data : 

Type

Methods

get_data()

get_data() : array

Returns

array

save()

save() 

Saves the log or prints it some place.

log_error()

log_error(string  $where, mixed  $what) 

Logs an error.

Parameters

string $where

A location string using / as level format.

mixed $what

What should be stored in the log.

get_levels_delimiter()

get_levels_delimiter() : string

Returns the string that will be used to split paths into levels.

Returns

string

set_levels_delimiter()

set_levels_delimiter(string  $levels_delimiter) 

Sets the string that will be used to split paths into levels.

Parameters

string $levels_delimiter

log_success()

log_success(string  $where, mixed  $what) 

Logs a success.

Parameters

string $where

A location string using / as level format.

mixed $what

What should be stored in the log.

log_information()

log_information(  $key, string  $message) 

Logs some generic information.

Parameters

$key
string $message

get_error()

get_error(  $where) 

Parameters

$where

get_success()

get_success(  $where) 

Parameters

$where

get_information()

get_information(  $key) 

Parameters

$key

log()

log(string  $where, mixed  $what, string  $root = 'info') 

Logs something.

Parameters

string $where

A location string using / as level format.

mixed $what

What should be stored in the log.

string $root

Where to log the information.

build_nested_array()

build_nested_array(  $path,   $what = '') 

Parameters

$path
$what

build_path()

build_path(  $where) : array

Parameters

$where

Returns

array

get_nested_value()

get_nested_value(  $where) : mixed

Parameters

$where

Returns

mixed