FlowGuard API - v1.2.0-rc.2
    Preparing search index...

    Function createLogger

    • Create a level-filtered logger.

      Messages below minLevel are suppressed. Messages at or above are forwarded to all sinks as structured LogEntry objects. If no sinks are provided, the logger is effectively a noop (but still does level filtering — useful for testing).

      Parameters

      • minLevel: "error" | "info" | "debug" | "warn" | "silent"

        Minimum severity to emit.

      • Optionalsinks: LogSink | LogSink[]

        Optional array of structured output functions.

      Returns FlowGuardLogger