wrkflw-logging

Crates.iowrkflw-logging
lib.rswrkflw-logging
version0.7.3
created_at2025-08-09 12:20:10.103982+00
updated_at2025-08-28 07:32:08.410307+00
descriptionLogging functionality for wrkflw workflow execution engine
homepagehttps://github.com/bahdotsh/wrkflw
repositoryhttps://github.com/bahdotsh/wrkflw
max_upload_size
id1787880
size16,108
Gokul (bahdotsh)

documentation

https://github.com/bahdotsh/wrkflw

README

wrkflw-logging

Lightweight in-memory logging with simple levels for TUI/CLI output.

  • Thread-safe, timestamped messages
  • Level filtering (Debug/Info/Warning/Error)
  • Pluggable into UI for live log views

Example

use wrkflw_logging::{info, warning, error, LogLevel, set_log_level, get_logs};

set_log_level(LogLevel::Info);
info("starting");
warning("be careful");
error("boom");

for line in get_logs() {
    println!("{}", line);
}
Commit count: 183

cargo fmt