projects
/
formats-pivots
/
formats-pivots.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
feat: initialize open-subvention directory
[formats-pivots/formats-pivots.git]
/
open-subvention
/
node_modules
/
winston
/
examples
/
exception.js
diff --git a/open-subvention/node_modules/winston/examples/exception.js
b/open-subvention/node_modules/winston/examples/exception.js
new file mode 100644
(file)
index 0000000..
99f605b
--- /dev/null
+++ b/
open-subvention/node_modules/winston/examples/exception.js
@@ -0,0
+1,4
@@
+var winston = require('../');
+winston.handleExceptions(new winston.transports.Console({ colorize: true, json: true }));
+
+throw new Error('Hello, winston!');