allow sending of any custom data in the second arg to error/warn/etc