custom console api. enables placeholder [%d, %s, %f, %o] in modern browsers, nodejs and phantomjs