mirror of
https://github.com/fluencelabs/dashboard
synced 2025-03-16 13:30:48 +00:00
setLogLevel
This commit is contained in:
parent
a6d31fa638
commit
55fc5ca952
@ -107,8 +107,15 @@ function event(
|
||||
// Learn more about service workers: https://bit.ly/CRA-PWA
|
||||
serviceWorker.unregister();
|
||||
|
||||
function setLogLevel(level: any) {
|
||||
log.setLevel(level)
|
||||
}
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
test: any;
|
||||
setLogLevel: any;
|
||||
}
|
||||
}
|
||||
|
||||
window.setLogLevel = setLogLevel
|
||||
|
Loading…
x
Reference in New Issue
Block a user