MIDDAG for Moodle

debug extends facade

Facade for local_middag\framework\support\debug.

Tags
see
debug
mixin

Table of Contents

Methods

get_facade_accessor()  : string
Return the service accessor key for this facade.
trace()  : void
trace_exception()  : void

Methods

get_facade_accessor()

Return the service accessor key for this facade.

public static get_facade_accessor() : string
Return values
string

trace()

public static trace([string $message = = '\'\'' ][, debug_mode $level = = '\\local_middag\\framework\\shared\\enum\\debug_mode::NORMAL' ]) : void
Parameters
$message : string = = '\'\''
$level : debug_mode = = '\\local_middag\\framework\\shared\\enum\\debug_mode::NORMAL'

trace_exception()

public static trace_exception(Throwable $exception[, debug_mode $level = = '\\local_middag\\framework\\shared\\enum\\debug_mode::NORMAL' ]) : void
Parameters
$exception : Throwable
$level : debug_mode = = '\\local_middag\\framework\\shared\\enum\\debug_mode::NORMAL'

        
On this page

Search results