| Crates.io | echo_log |
| lib.rs | echo_log |
| version | 0.1.1 |
| created_at | 2023-06-27 09:33:24.63552+00 |
| updated_at | 2023-06-27 09:47:11.276354+00 |
| description | Simple cross-thread log library for windows |
| homepage | |
| repository | https://gitee.com/w-8/echo_log |
| max_upload_size | |
| id | 901168 |
| size | 4,344 |
echo_log::init("233.txt");
echo_log::echo("Hello Hello");
echo_log::init("233.txt");
std::thread::spawn(||{
for idx in 0..5000{
echo_log::echo(format!("{} --thread",idx));
}
})
for idx in 0..5000{
echo_log::echo("{} --",idx);
}
use logstr;
echo_log::init(&logstr::logname());
echo_log::echo(logstr::e("Bad Bad!"));