[ Index ]

PHP Cross Reference of YOURLS

title

Body

[close]

/includes/ -> functions-debug.php (summary)

(no description)

File Size: 67 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 5 functions

  yourls_debug_log()
  yourls_get_debug_log()
  yourls_get_num_queries()
  yourls_debug_mode()
  yourls_get_debug_mode()

Functions
Functions that are not part of a class:

yourls_debug_log( $msg )   X-Ref
Add a message to the debug log

When in debug mode ( YOURLS_DEBUG == true ) the debug log is echoed in yourls_html_footer()
Log messages are appended to $ydb->debug_log array, which is instanciated within class ezSQLcore_YOURLS

since: 1.7
return: string The message itself
param: string $msg Message to add to the debug log

yourls_get_debug_log()   X-Ref
Get the debug log

since: 1.7.3
return: array

yourls_get_num_queries()   X-Ref
Get number of SQL queries performed

return: int

yourls_debug_mode( $bool )   X-Ref
Debug mode set

since: 1.7.3
return: void
param: bool $bool Debug on or off

yourls_get_debug_mode()   X-Ref
Return YOURLS debug mode

since: 1.7.7
return: bool



Generated: Wed Sep 28 05:10:02 2022 Cross-referenced by PHPXref 0.7.1