diff options
Diffstat (limited to 'src/PursLoader/Debug.js')
-rw-r--r-- | src/PursLoader/Debug.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/PursLoader/Debug.js b/src/PursLoader/Debug.js new file mode 100644 index 0000000..85eca10 --- /dev/null +++ b/src/PursLoader/Debug.js | |||
@@ -0,0 +1,12 @@ | |||
1 | 'use strict'; | ||
2 | |||
3 | // module PursLoader.Debug | ||
4 | |||
5 | var debug_ = require('debug')('purs-loader'); | ||
6 | |||
7 | function debug(message) { | ||
8 | return function(){ | ||
9 | debug_(message); | ||
10 | }; | ||
11 | } | ||
12 | exports.debug = debug; | ||