dagor.debug
module ‘dagor.debug’
Source file: prog/gameLibs/quirrel/bindQuirrelEx/sqratDagorDebug.cpp
Usage:
let { debug, fatal, screenlog, logerr, console_print, debug_dump_stack, assert, assertf, get_log_filename } = require("dagor.debug")
or:
from "dagor.debug" import *
//'dagor.debug' exports:
{
function debug(msg): string -> null
function fatal(msg): string -> null
function screenlog(msg): string -> null
function logerr(arg0): string -> _undocumented_
function console_print()
function debug_dump_stack()
function assert(arg0, arg1, ...): any_type, string, any_type -> _undocumented_
function assertf(arg0, arg1): any_type, string -> _undocumented_
function get_log_filename()
}
- function debug(msg)
- Arguments
msg (
string()
) –
- Returns
null
- function fatal(msg)
- Arguments
msg (
string()
) –
- Returns
null
- function screenlog(msg)
- Arguments
msg (
string()
) –
- Returns
null
- function logerr(arg0)
- Arguments
arg0 (
string()
) – autodoc from typemask/paramscheck
nparamscheck:2
typecheck mask: any_type, string
- function console_print()
- function debug_dump_stack()
nparamscheck:1
typecheck mask: any_type
- function assert(arg0, arg1, ...)
- Arguments
arg0 (
any_type()
) – autodoc from typemask/paramscheckarg1 (
string()
) – autodoc from typemask/paramscheck... (
any_type()
) – this function accepts unlimited arguments
nparamscheck:-2
typecheck mask: any_type, any_type, string
- function assertf(arg0, arg1)
- Arguments
arg0 (
any_type()
) – autodoc from typemask/paramscheckarg1 (
string()
) – autodoc from typemask/paramscheck
nparamscheck:3
typecheck mask: any_type, any_type, string
- function get_log_filename()