GeoLeaf Core API - v3.0.0
    Preparing search index...

    Variable LEVELSConst

    LEVELS: { DEBUG: 0; INFO: 1; WARN: 2; ERROR: 3 } = ...

    The numeric log levels, ordered from most to least verbose.

    A message is emitted when its own level is >= the current threshold, which is why the values are ordered rather than arbitrary. ⚠️ There is no PRODUCTION entry here: setLevel("production") maps to WARN plus quiet mode — it is a mode, not a level.

    ⚠️ This table is internal. It is exported from this module but re-exported nowhere: not by the package entry, not by kernel-exports, not onto the global namespace. The documented import { LEVELS } from "@geoleaf/core" does not resolve. From outside the core, read the numeric value through LogImplInterface.getLevel and compare against the literals below.

    Type Declaration

    • ReadonlyDEBUG: 0
    • ReadonlyINFO: 1
    • ReadonlyWARN: 2
    • ReadonlyERROR: 3
    // { DEBUG: 0, INFO: 1, WARN: 2, ERROR: 3 }
    const level = GeoLeaf.Log.getLevel();
    const isVerbose = level === 0;