blob: 4a1ff21b00428f73f56950e6a0c646f21da77295 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/ */
onmessage = () => {
let logConsole = console.createInstance({
maxLogLevelPref: "browser.test.logLevel",
maxLogLevel: "Warn",
prefix: "testPrefix",
});
logConsole.warn("Test Warn");
logConsole.info("Test Info");
postMessage({});
};
|