[ Index ]

PHP Cross Reference of YOURLS

title

Body

[close]

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

(no description)

File Size: 70 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 Database\YDB

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

yourls_get_debug_log()   X-Ref
Get the debug log

return: array
since: 1.7.3

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

return: int

yourls_debug_mode( $bool )   X-Ref
Debug mode set

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

yourls_get_debug_mode()   X-Ref
Return YOURLS debug mode

return: bool
since: 1.7.7



Generated: Sat Feb 22 05:10:06 2025 Cross-referenced by PHPXref 0.7.1