You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I tried many things but DEBUG level is not shown for some reason. My configuration:
//Logger.useDefaults();
Logger.useDefaults({
defaultLevel: Logger.DEBUG,
formatter: function (messages, context) {
messages.unshift(new Date().toUTCString())
}
});
Logger.setLevel(Logger.DEBUG);
// Only log WARN and ERROR messages.
//Logger.setLevel(Logger.WARN);
//Logger.debug("Donut machine is out of pink ones"); // Not a peep.
//Logger.warn("Asteroid detected!"); // Logs "Asteroid detected!", best do something about that!
// Ah, you know what, I'm sick of all these messages.
// But I want to see them again later
//var oldLevel = Logger.getLevel();
//Logger.setLevel(Logger.OFF);
//Logger.error("Hull breach on decks 5 through to 41!"); // ...
// Actually, maybe those logs were quite useful...
//Logger.setLevel(oldLevel);
Logger.debug("I'm a debug message!");
Logger.info("OMG! Check this window out!", window);
Logger.warn("Purple Alert! Purple Alert!");
Logger.error("HOLY SHI... no carrier.");
Logger.debug("XXXXXXXX");
Logger.debug("YYYYYYYY");
// Start timing something
Logger.time('self destruct sequence');
// ... Some time passes ...
// Stop timing something.
Logger.timeEnd('self destruct sequence'); // logs: 'self destruct sequence: XXXms'.
The text was updated successfully, but these errors were encountered:
Hi, I tried many things but DEBUG level is not shown for some reason. My configuration:
The text was updated successfully, but these errors were encountered: