sigil-node · logging
Source declarations, signatures and documentation for logging.
Source: sigil/node/sigil-node/src/logging.rs. SHA-256: 9b239c22d4f4685b1db0edff6d11e9e9fdfc29239d324a1ea9460680a7c9aa55.
This reference follows declared source modules, retains conditional attributes, and includes public declarations and implementation methods. Private-module re-exports and trait resolution require the compiler; this is a source reference, not a claim that every listed item is a root import. Function bodies and constant values are omitted.
logging::print_banner
Print the SIGIL ASCII art banner and version string.
Silently skipped when stdout is not a terminal (e.g. piped to a file).
pub fn print_banner(version: &str);Source line: 38.
logging::section
Print a section header with a green bullet.
● Loading genesispub fn section(title: &str);Source line: 58.
logging::item
Print a tree item (non-last).
├─ Chain ID sigil-testnet-1pub fn item(label: &str, value: &str);Source line: 67.
logging::last_item
Print the last tree item.
└─ Data Directory /tmp/sigil-testnetpub fn last_item(label: &str, value: &str);Source line: 76.
logging::success
Print a success message with a green checkmark.
✓ Genesis loadedpub fn success(msg: &str);Source line: 85.
logging::subsystem_ok
Print a subsystem that started successfully (non-last).
├─ ✓ Mempool (capacity: 10,000 txs)pub fn subsystem_ok(label: &str, detail: &str);Source line: 96.
logging::subsystem_ok_last
Print the last subsystem that started successfully.
└─ ✓ Block production (enabled)pub fn subsystem_ok_last(label: &str, detail: &str);Source line: 107.
logging::subsystem_skip
Print a skipped/disabled subsystem (always last).
└─ ○ Block production (rpc mode)pub fn subsystem_skip(label: &str, reason: &str);Source line: 118.
logging::ready
Print the "node ready" banner with double-line dividers.
pub fn ready();Source line: 123.
logging::shutdown_begin
Print shutdown header.
pub fn shutdown_begin();Source line: 133.
logging::shutdown_complete
Print shutdown complete message.
pub fn shutdown_complete();Source line: 139.
logging::format_number
Format a u64 with comma separators (e.g. 1,234,567).
pub fn format_number(n: u64) -> String;Source line: 147.
logging::init_tracing
Initialize the tracing subscriber with a compact, colored format.
Respects the RUST_LOG environment variable if set; otherwise falls
back to the provided log_level (e.g. "info", "debug", "trace").
pub fn init_tracing(log_level: &str);Source line: 170.