code: function(args){
  			return forEach(args,function(_,item){
  				var messages = this.result,
  					type = typeof item;
  
  				if (type == 'string') {
  					messages.push('%s');
  				} else if (type == 'number') {
  					messages.push('%d');
  				} else if (type == 'boolean') {
  					messages.push('%s');
  				} else {
  					messages.push('%O');
  				}
  			},[]);
  		}
docs: Generating console message templates