Module lua-nucleo.diagnostics
Various code diagnostics utilities
This file is a part of lua-nucleo library
Info:
- Copyright: lua-nucleo authors (see file
COPYRIGHTfor the license)
Tables
| SourceLocation | Source code location |
Local Functions
| capture_source_location ([level=1]) | Captures location in source code at given call stack level. |
Tables
Local Functions
- capture_source_location ([level=1])
-
Captures location in source code at given call stack level.
Returns
nilif requested call stacklevelis larger than number of functions currently in the call stack.Parameters:
- level int call stack level (default 1)
Returns:
-
SourceLocation
Source code location.
See also: