Laur's blog
Sign in Subscribe

dev

A collection of 3 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
Proxy Content from URL with Webpack Dev Server
asset

Proxy Content from URL with Webpack Dev Server

An application I'm working with has a large amount of static files (path starting with '/files/') deployed on a mounted volume in Docker. They are subsequently served via nginx. for local development, I thought of two options: 1. Add files to the local dev server (e.
Dec 21, 2017 2 min read
Rise and Fall of WebPack Dev Server in My Project
dev

Rise and Fall of WebPack Dev Server in My Project

Disclaimer: This is a log of my journey developing an electron app. I'm working at a small electron app and I was experimenting with webpack-dev-server, so I can try to do live reloads. First, I've started the app as a web app (no electron dependencies whatsoever)
Dec 1, 2016 1 min read
Page 1 of 1
Laur's blog © 2025
  • Sign up
Powered by Ghost