summaryrefslogtreecommitdiff
path: root/installed-tests
diff options
context:
space:
mode:
authorMarco Trevisan (TreviƱo) <mail@3v1n0.net>2022-06-09 03:21:45 +0200
committerPhilip Chimento <philip.chimento@gmail.com>2022-11-02 21:44:48 -0700
commit2ce1d3c393292812af5fe105bc0353f3fb0f06ef (patch)
tree10fa1f8ddc9d7874bcb78c3b715f087e302a1750 /installed-tests
parentc116e40d8e0ed714db1abbecc3feac59724f857c (diff)
downloadgjs-2ce1d3c393292812af5fe105bc0353f3fb0f06ef.tar.gz
console: Also use formatters for console.trace
Just fetch the error trace at printer function so that we can just use this at lower level without requiring explicitly using the printer when using trace()
Diffstat (limited to 'installed-tests')
-rw-r--r--installed-tests/js/testConsole.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/installed-tests/js/testConsole.js b/installed-tests/js/testConsole.js
index a9bfa1d6..a52deaf6 100644
--- a/installed-tests/js/testConsole.js
+++ b/installed-tests/js/testConsole.js
@@ -202,6 +202,7 @@ describe('console', function () {
warn: GLib.LogLevelFlags.LEVEL_WARNING,
info: GLib.LogLevelFlags.LEVEL_INFO,
error: GLib.LogLevelFlags.LEVEL_CRITICAL,
+ trace: GLib.LogLevelFlags.LEVEL_MESSAGE,
};
Object.entries(functions).forEach(([fn, level]) => {