We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a31da0 commit c3fdcb1Copy full SHA for c3fdcb1
1 file changed
src/logger.js
@@ -0,0 +1,14 @@
1
+import { intercept } from './utils';
2
+
3
+const Logger = (() => {
4
+ return {
5
+ success: args => intercept('success', args),
6
+ info: args => intercept('info', args),
7
+ warn: args => intercept('warn', args),
8
+ error: args => intercept('error', args),
9
+ trace: args => intercept('trace', args),
10
+ debug: args => intercept('debug', args),
11
+ }
12
+})();
13
14
+export default Logger;
0 commit comments