Skip to content

@graphty/graphty-element / logging / isModuleEnabled

Function: isModuleEnabled() ​

isModuleEnabled(category): boolean

Defined in: graphty-element/src/logging/LoggerConfig.ts:86

Check if a specific module category is enabled for logging.

Parameters ​

category ​

string[]

Hierarchical category path, e.g., ["graphty", "layout", "ngraph"]

Returns ​

boolean

true if the module should log