wlog: change variable naming and fix documentation