aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PursLoader/Debug.js
diff options
context:
space:
mode:
authoreric <thul.eric@gmail.com>2016-02-27 20:16:49 -0500
committereric <thul.eric@gmail.com>2016-02-27 20:16:49 -0500
commit0c1b65bb9b703543b5b00f8c571136d7ca1fe50d (patch)
tree7fbfb8f3bf11a3f3b5fbff95e58acdb8a6724627 /src/PursLoader/Debug.js
parent861ae3407e82b2ef0fd08f6d4ff7f2b0df0b3ed7 (diff)
parent3afbe2fddcc38ba6d79b01409f57158a217c00dd (diff)
downloadpurs-loader-0c1b65bb9b703543b5b00f8c571136d7ca1fe50d.tar.gz
purs-loader-0c1b65bb9b703543b5b00f8c571136d7ca1fe50d.tar.zst
purs-loader-0c1b65bb9b703543b5b00f8c571136d7ca1fe50d.zip
Merge pull request #39 from ethul/topic/debug
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;