castaclip/sysloglogger — comment on commit 804cfcbbe9a18fc2f0c7bd16daf4a2b7865bbcfe
File:  line 0
By skade:

Im übrigen, wenns performant sein soll:

def add(severity, message = nil, progname = nil)
message = clean(message || yield if block_given?)
...

Und warum nicht:

def add(severity = Logger::UNKNOWN....)

Zum Schluss noch was ganz böses:

def add(severity, message = (yield if block_given?))
...
end