Crates.io | shrs_file_logger |
lib.rs | shrs_file_logger |
version | 0.0.6 |
source | src |
created_at | 2024-02-02 04:33:58.805587 |
updated_at | 2024-06-01 04:56:41.46058 |
description | dump logs to a file |
homepage | https://mrpicklepinosaur.github.io/shrs/ |
repository | https://github.com/MrPicklePinosaur/shrs |
max_upload_size | |
id | 1124006 |
size | 61,935 |
This is a plugin for shrs.
First add this plugin to your dependencies
shrs_file_logger = { version = "0.0.6" }
Then include this plugin when initializing shrs
use shrs::prelude::*;
use shrs_file_logger::FileLogger;
let myshell = ShellBuilder::default()
.with_plugin(FileLogger::default())
.build()
.unwrap();