We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20bf72c commit c31031bCopy full SHA for c31031b
src/common/logger.ts
@@ -0,0 +1,11 @@
1
+declare let __DEVELOPMENT__: boolean;
2
+
3
+export default {
4
+ info(content: any) {
5
+ // The blow codes just for development
6
+ if (__DEVELOPMENT__) {
7
+ console.group(`Logger.info:`, content);
8
+ console.groupEnd();
9
+ }
10
+ },
11
+};
0 commit comments