Laur's blog
Sign in Subscribe

rust

A collection of 2 posts
Logging in Rust
rust

Logging in Rust

I need to record the logging from my application. According to this, rust can do logging via the log crate: use log::{info, warn}; pub fn example() { info!("Here's some info"); warn!("This is a warning!"); } In addition, you can use the env_logger
May 31, 2025 1 min read
Head-first in Rust - Tweet Proof of Concept
rust

Head-first in Rust - Tweet Proof of Concept

Last year I thought of learning a new programming language. I was between Rust and Go and started to read reviews and use cases for both, to figure out which one should I pick. After spending few weeks on reading comparisons, I still couldn't figure which one is
Apr 10, 2024 5 min read
Page 1 of 1
Laur's blog © 2025
  • Sign up
Powered by Ghost