diff options
| author | Evan Welsh <contact@evanwelsh.com> | 2021-08-06 22:27:14 -0700 |
|---|---|---|
| committer | Evan Welsh <contact@evanwelsh.com> | 2021-08-06 22:27:14 -0700 |
| commit | 8c585c9706b19c213682af9319789642cdcb15c6 (patch) | |
| tree | 279c195012b63f744a01cb71f5b5f0809c0589f2 /log.js | |
| parent | 469b38f367ed9707f2c17a1bdeb810d9c193e462 (diff) | |
| download | gjs-ewlsh/fix-function-pointers.tar.gz | |
Some really rough work on fixing function pointer supportewlsh/fix-function-pointers
Not sure if we should go this route or wrap in a callback, I'd prefer
if we can go this route to avoid adding JS wrapping
Diffstat (limited to 'log.js')
| -rw-r--r-- | log.js | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -0,0 +1,5 @@ +const {GLib} =imports.gi; + +GLib.log_set_writer_func(GLib.log_writer_default); + +GLib.log_structured('Gjs-Console-Test', GLib.LogLevelFlags.LEVEL_MESSAGE, { 'MESSAGE': 'TESTING'});
\ No newline at end of file |
