code wiki / (root) / nx_log_jsonl_test.nx

nx_log_jsonl_test.nx

buildroot/runtime/nx_log_jsonl_test.nx

7429 B177 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic log
docsdependenciesstructsconstsfunctions

about

nx_log_jsonl_test.nx -- smoke for structured JSONL log emitter. expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls_x86_64.nx nx_log_jsonl.nx nx_log_jsonl_test.nx

imports: nx_syscalls_x86_64.nxnx_log_jsonl.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main nxl_level_is_valid nxl_verdict_is_valid bytes_eq nxl_level_name nxl_level_name_len nx_log_emit_line nxl_level_is_valid ↻ nxl_put_cstr nxl_put nxl_put_dec nxl_put ↻ nxl_put_bytes nxl_put ↻ nxl_level_name ↻ nxl_level_name_len ↻ nxl_put_json_str_bytes nxl_put_cstr ↻ nxl_put ↻ nx_log_emit_line_with_int nxl_level_is_valid ↻ nxl_put_cstr ↻ nxl_put_dec ↻ nxl_put_bytes ↻ nxl_level_name ↻ nxl_level_name_len ↻ nxl_put_json_str_bytes ↻ bytes_contains bytes_eq ↻ nx_log_emit_line_with_str nxl_level_is_valid ↻ nxl_put_cstr ↻ nxl_put_dec ↻ nxl_put_bytes ↻ nxl_level_name ↻ nxl_level_name_len ↻ nxl_put_json_str_bytes ↻

structs

none

consts

none

functions

10func bytes_eq(a: *u8, b: *u8, n: i64) -> i64
called by 2: bytes_containsmain
19func bytes_contains(haystack: *u8, h_n: i64, needle: *u8, n_n: i64) -> i64
called by 1: main calls 1: bytes_eq
29func main() -> i64