All the logging functions currently allow the use of formatting specifiers, with the exception of assert. To avoid confusion for web developers, the assert function should work with formatting specifiers.
console.assert(false, 'string: %s', 'test');
//-> Assertion failed: string: test