by adding a new std.Option for log.terminalMode this is an alternative to the approach that was deleted in aa57793b680b3da05f1d888b4df15807905e57c8