MCPcopy Create free account
hub / github.com/VimYoung/Spell / SocketWriter

Class SocketWriter

spell-framework/src/configure.rs:489–492  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

487 .expect("Non blocking couldn't be set");
488
489 let writer = RollingFileAppender::builder()
490 .rotation(Rotation::HOURLY) // rotate log files once every hour
491 .filename_prefix(widget_name) // log file names will be prefixed with `myapp.`
492 .filename_suffix("log") // log file names will be suffixed with `.log`
493 .build(&logging_dir) // try to build an appender that stores log files in `/var/log`
494 .expect("initializing rolling file appender failed");
495

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected