We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 140da45 commit 6da2f38Copy full SHA for 6da2f38
client/index.js
@@ -76,6 +76,10 @@ var onSocketMsg = {
76
sendMsg("StillOk");
77
},
78
"log-level": function(level) {
79
+ var hotCtx = require.context("webpack/hot", false, /^\.\/log$/);
80
+ if(hotCtx.keys().length > 0) {
81
+ hotCtx("./log").setLogLevel(level);
82
+ }
83
switch(level) {
84
case INFO:
85
case ERROR:
0 commit comments