aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PursLoader/Debug.js
diff options
context:
space:
mode:
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;