idiomatic basic log