add $label parameters to error, warn, info, log methods. issue #6370