mirror of
https://github.com/gchq/CyberChef
synced 2025-12-23 19:53:26 +00:00
Added logging with configurable levels to make debugging easier.
This commit is contained in:
@@ -47,7 +47,8 @@ function main() {
|
||||
attemptHighlight: true,
|
||||
theme: "classic",
|
||||
useMetaKey: false,
|
||||
outputFileThreshold: 1024
|
||||
outputFileThreshold: 1024,
|
||||
logLevel: "info"
|
||||
};
|
||||
|
||||
document.removeEventListener("DOMContentLoaded", main, false);
|
||||
@@ -55,9 +56,6 @@ function main() {
|
||||
window.app.setup();
|
||||
}
|
||||
|
||||
// Fix issues with browsers that don't support console.log()
|
||||
window.console = console || {log: function() {}, error: function() {}};
|
||||
|
||||
window.compileTime = moment.tz(COMPILE_TIME, "DD/MM/YYYY HH:mm:ss z", "UTC").valueOf();
|
||||
window.compileMessage = COMPILE_MSG;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user