"Performant Logging" feature in Advanced
This commit is contained in:
parent
979a36c79a
commit
0ca0b34ff0
3 changed files with 24 additions and 1 deletions
|
@ -17,6 +17,17 @@ window.CiderCache = CiderCache
|
|||
window.CiderFrontAPI = CiderFrontAPI
|
||||
window.wsapi = wsapi
|
||||
|
||||
if (app.cfg.advanced.disableLogging === true) {
|
||||
window.console = {
|
||||
log: function() {},
|
||||
error: function() {},
|
||||
warn: function() {},
|
||||
assert: function() {},
|
||||
debug: function() {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Mount Vue to #app
|
||||
app.$mount("#app")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue