# File lib/logger.rb, line 391 def error(progname = nil, &block) add(ERROR, nil, progname, &block) end