loggs

Simple opinionated logger for Windows and Linux applications

Example

```rs

use loggs::Logger;

fn main() { let logger = Logger::newdefaultlocation("testapp");

// Add a log Hello logs! inside of a collection of logs named main_app logger.log("main_app", "Hello logs!");

// Save logs explicitly logger.save_logs();

// This will make it so if your app panics, the logs will be saved logger.saveonpanic(); }

```

The above code will create the following file structure:

on Windows - %AppData%/[appname]/Logs/[currenttime]/mainapp.log.txt
on Linux - /var/log/[app
name]/[currenttime]/mainapp.log.txt