Unificate how printf uses arguments of log record. Make possible to format error with %e to show error stack.

Arguments in printf was useless for log record. I'd like to see your opinion.