package main import ( "git.martin-riedl.de/golang/log" "runtime" ) func main() { someMethod() } func someMethod() { log.Default.Info("Hello World") log.Default.With("os", runtime.GOOS).Info("environment detected") }