UNPKG
brush_cli
Version:
latest (0.0.2)
0.0.2
0.0.1
A tool for creating and developing cmos PC Framework project.
brush_cli
/
node_modules
/
winston
/
examples
/
exception.js
5 lines
(3 loc)
•
157 B
JavaScript
View Raw
1
2
3
4
5
var
winston =
require
(
'../'
); winston.
handleExceptions
(
new
winston.transports.
Console
({
colorize
:
true
,
json
:
true
}));
throw
new
Error
(
'Hello, winston!'
);