Call format to set LogRecord attributes