aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PursLoader/Debug.js
diff options
context:
space:
mode:
authoreric thul <thul.eric@gmail.com>2016-02-27 20:15:10 -0500
committereric thul <thul.eric@gmail.com>2016-02-27 20:15:10 -0500
commit3afbe2fddcc38ba6d79b01409f57158a217c00dd (patch)
tree7fbfb8f3bf11a3f3b5fbff95e58acdb8a6724627 /src/PursLoader/Debug.js
parent861ae3407e82b2ef0fd08f6d4ff7f2b0df0b3ed7 (diff)
downloadpurs-loader-3afbe2fddcc38ba6d79b01409f57158a217c00dd.tar.gz
purs-loader-3afbe2fddcc38ba6d79b01409f57158a217c00dd.tar.zst
purs-loader-3afbe2fddcc38ba6d79b01409f57158a217c00dd.zip
Adding debug logging
Diffstat (limited to 'src/PursLoader/Debug.js')
-rw-r--r--src/PursLoader/Debug.js12
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
5var debug_ = require('debug')('purs-loader');
6
7function debug(message) {
8 return function(){
9 debug_(message);
10 };
11}
12exports.debug = debug;