```rust mod lib;
use lib::Log;
fn main() { let mut logger: Log = Log::new(); logger.outputtofile(); logger.info("Hello, world!"); logger.warn("Hello, world!"); logger.error("Hello, world!"); logger.debug("Hello, world!"); } ```
```rust mod lib;
use lib::Log;
fn main() { let logger: Log = Log::new(); logger.info("Hello, world!"); logger.warn("Hello, world!"); logger.error("Hello, world!"); logger.debug("Hello, world!"); } ```