diff options
author | Marco Trevisan (TreviƱo) <mail@3v1n0.net> | 2022-06-09 03:21:45 +0200 |
---|---|---|
committer | Philip Chimento <philip.chimento@gmail.com> | 2022-11-02 21:44:48 -0700 |
commit | 2ce1d3c393292812af5fe105bc0353f3fb0f06ef (patch) | |
tree | 10fa1f8ddc9d7874bcb78c3b715f087e302a1750 /installed-tests | |
parent | c116e40d8e0ed714db1abbecc3feac59724f857c (diff) | |
download | gjs-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.js | 1 |
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]) => { |