Strata\Logger\Debugger

    Synopsis

    class Debugger {
    • // constants
    • const RAW = 1;
    • const CONSOLE = 2;
    • const HTML = 3;
    • const HTML_STYLES = "font-size: 12px; font-family: consolas; background:ccc; color:#000;";
    }

    Constants

    Name Value
    RAW 1
    CONSOLE 2
    HTML 3
    HTML_STYLES "font-size: 12px; font-family: consolas; background:ccc; color:#000;"

    Methods

    protected

    • exportArray() — Export an array type object. Filters out keys used in datasource configuration.
    • exportObject() — Handles object to string conversion.

    public

    • export() — Export function used to keep track of indentation and recursion.
    • getType() — Get the type of the given variable. Will return the class name for objects.
    • trace()