BitcoinKernel LogCategory Enumeration LogCategory Categories for filtering kernel log messages — pass to enableLogCategory(_:) / disableLogCategory(_:) / setLogLevel(category:level:) to control the noise level. enum LogCategory Overview Categories map 1:1 onto Bitcoin Core’s BCLog::LogFlags values. Enabling a category routes matching log lines to any active LoggingConnection; disabling suppresses them at the source. Maps to btck_LogCategory constants in the kernel C API. Topics Enumeration Cases case allAll categories. Enabling or disabling this affects every other case at once — use enableLogCategory(_:) with .all to firehose all kernel output. case benchBenchmarking and timing measurements — per-block validation timing, script cache hit rates, etc. case blockStorageBlock storage and disk I/O — blk*.dat and rev*.dat reads and writes, flushing, and file rotation. case coinDBCoin database (UTXO set) operations — cache fills, flushes, and warmup progress. case kernelGeneral kernel operations — initialization, shutdown, and anything not covered by a more specific category. case levelDBLevelDB low-level operations — the storage backend for the block index and chainstate. case mempoolMempool transaction processing — swift-bitcoinkernel’s kernel does not run a mempool, so this category is effectively quiet. case pruneBlock pruning operations — mainnet-only; swift-bitcoinkernel does not currently expose -prune=N, so this category is effectively quiet. case randRandom number generation — entropy sources, RNG state. case reindexBlock reindexing — triggered by setWipeDBs(blockTreeDB:chainstateDB:). case validationBlock and transaction validation — the highest-signal category for debugging rejected blocks or unexpected reorgs. Initializers init?(rawValue: UInt8)