MCPcopy Create free account
hub / github.com/OpenKeyring/oak-keyring / init

Function init

src/logging.rs:10–33  ·  view source on GitHub ↗

Initialize tracing subscriber writing to a daily-rotating log file. Returns a `WorkerGuard` that must be held for the app's lifetime. Returns `None` if the file appender cannot be created (logging disabled).

(data_dir: &Path)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

mainFunction · 0.70
init_auto_does_not_panicFunction · 0.50
init_and_switch_localeFunction · 0.50

Calls 1

buildMethod · 0.80

Tested by 4

init_auto_does_not_panicFunction · 0.40
init_and_switch_localeFunction · 0.40