Expand description
Node kinds that conceptually belong to the logging category.
This module is intentionally not wired into category_for_node_kind.
The node kinds listed below overlap with data_access
(call_expression, call) and resource_management
(macro_invocation) at the AST level — only the callee name distinguishes
a logging invocation from a data-access or resource-management one. Native
classification by node kind alone would either steal hits from those
existing categories or duplicate-classify every call/macro.
Foreign extractors (e.g. the Meridian consumer app) MUST apply callee-text
filtering on their side before emitting PatternInstanceInput values
with category = "logging". As of M32, matches_callee provides the
canonical regex tables — embedders should prefer it over hand-rolled filters.
Constants§
- NODE_
KINDS - Conceptual tree-sitter node kinds for logging patterns. Reference only —
not consulted by
category_for_node_kind.
Functions§
- matches_
callee - Return
truewhentextlooks like a logging callee forlanguage.