class \mpf\loggers\InlineCliLogger

class \mpf\loggers\InlineCliLogger

Inheritance \mpf\loggers\Logger«\mpf\base\Object
Implements -
Uses -
Childs -
Available since version  0.1
Source Code https://github.com/mpf-soft/mpf/tree/master/loggers/InlineCliLogger.php

-no description found-

Attributes
public array $levelsToColors = {"emergency":"1;37","alert":"1;31","critical":"1;31","error":"0;31","warning":"0;35","notice":"1;34","info":"1;32","debug":"1;37"}

-no description found-

public array $levelsToBackground = {"emergency":"41","critical":"47","alert":null,"error":null,"warning":null,"notice":null,"info":null,"debug":null}

-no description found-

public string $detailsColor = "0;37"

Color of details;

public string $timeColor = "1;30"

Color of time;

protected int[] $numbers = []

Records the number of logs for every type;

Methods

public mixed getLogs ()

-no description found-

public mixed log (mixed $level, mixed $message, mixed $context = [])

  • $level

    -no description found-

  • $message

    -no description found-

  • $context

    -no description found-

-no description found-

protected mixed writeTime (mixed $className)

  • $className

    -no description found-

-no description found-

protected mixed colorizeLog (mixed $message, mixed $level)

  • $message

    -no description found-

  • $level

    -no description found-

-no description found-