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

See #6370