= private = protected
error(progname = nil, &block)
Log an ERROR message.
See #info for more information.
# File lib/logger.rb, line 544 def error(progname = nil, &block) add(ERROR, nil, progname, &block) end