nestlog: log levels

This commit is contained in:
Roland Conybeare 2023-09-15 17:39:35 -04:00
commit 5339e9b124
7 changed files with 76 additions and 24 deletions

View file

@ -6,7 +6,7 @@ using namespace xo;
int
fib(int n) {
scope log(XO_SSETUP0(), ":n ", n);
scope log(XO_ENTER0(info), ":n ", n);
int retval = 1;
@ -26,7 +26,7 @@ main(int argc, char ** argv) {
int n = 4;
scope log(XO_SSETUP0(), ":n ", 4);
scope log(XO_ENTER0(info), ":n ", 4);
int fn = fib(n);