package ppx_minidebug

  1. Overview
  2. Docs

Module Minidebug_dbSource

Database-backed tracing runtime for ppx_minidebug.

This module provides a database backend for storing debug traces with content-addressed deduplication.

Sourcemodule Schema : sig ... end

Schema management and database initialization

Sourcemodule ValueIntern : sig ... end

Content-addressed value storage with O(1) deduplication

Sourcemodule type Db_config = sig ... end

Extended config module type

Database backend implementing Debug_runtime interface

Sourceval debug_db_file : ?time_tagged:Minidebug_runtime.time_tagged -> ?elapsed_times:Minidebug_runtime.elapsed_times -> ?location_format:Minidebug_runtime.location_format -> ?print_scope_ids:bool -> ?verbose_scope_ids:bool -> ?run_name:string -> ?for_append:bool -> ?log_level:int -> ?path_filter:[ `Whitelist of Re.re | `Blacklist of Re.re ] -> string -> (module Minidebug_runtime.Debug_runtime)

Factory function to create a database runtime that writes to a file

Sourceval debug_db : ?debug_ch:out_channel -> ?time_tagged:Minidebug_runtime.time_tagged -> ?elapsed_times:Minidebug_runtime.elapsed_times -> ?location_format:Minidebug_runtime.location_format -> ?print_scope_ids:bool -> ?verbose_scope_ids:bool -> ?run_name:string -> ?log_level:int -> ?path_filter:[ `Whitelist of Re.re | `Blacklist of Re.re ] -> unit -> (module Minidebug_runtime.Debug_runtime)

Factory function to create a database runtime (defaults to "debug.db" filename)