UNPKG
slush
Version:
latest (1.1.1)
1.1.1
1.0.1
1.0.0
0.1.0
The streaming scaffolding system - Gulp as a replacement for Yeoman
slushjs.github.io
slushjs/slush
slush
/
lib
/
log.js
11 lines
(9 loc)
•
245 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
var
chalk =
require
(
'chalk'
);
module
.
exports
=
function
(
){
'use strict'
;
var
sig =
'['
+chalk.
green
(
'slush'
)+
']'
;
var
args =
Array
.
prototype
.
slice
.
call
(
arguments
); args.
unshift
(sig);
console
.
log
.
apply
(
console
, args);
return
this
; };