Merge logawl package into master #10

Merged
sam merged 13 commits from grumbulon/awl:master into master 2022-06-29 22:57:04 +00:00
Collaborator

This PR is to bring in the new logging package for awl, I wanted to do some refinements before I opened this to upstream

logawl works in the following ways

  1. It prints logs directly to std.err
  2. The default log level is Info (this can be changed multiple ways)
  3. It supports four log levels Error, Fatal, Info, Debug
  4. It differs from the syslog package in the stdlib wherin it default to std.err you do not need to define an out file (syslog for example)
  5. I added a "debug" flag so now we can go through and define verbose logging through the app
    5.5 I made it so we can call Logger.debug("message") anywhere in the query file but unless the debug flag is set to true it will not print a message (it is working as intended finally).
This PR is to bring in the new logging package for awl, I wanted to do some refinements before I opened this to upstream logawl works in the following ways 1. It prints logs directly to std.err 1. The default log level is Info (this can be changed multiple ways) 1. It supports four log levels Error, Fatal, Info, Debug 1. It differs from the syslog package in the stdlib wherin it default to std.err you do not _need_ to define an out file (syslog for example) 1. I added a "debug" flag so now we can go through and define verbose logging through the app 5.5 I made it so we can call `Logger.debug("message")` anywhere in the query file but unless the debug flag is set to true it will not print a message (it is working as intended finally).
grumbulon added 9 commits 2022-06-28 18:19:57 +00:00
grumbulon added 1 commit 2022-06-28 18:20:29 +00:00
continuous-integration/drone/pr Build is passing Details
dfea8060dd
Merge branch 'master' into master
grumbulon added 1 commit 2022-06-29 13:20:49 +00:00
continuous-integration/drone/pr Build is passing Details
be3b81029e
Merge branch 'master' into master
grumbulon added 1 commit 2022-06-29 13:22:32 +00:00
grumbulon added 1 commit 2022-06-29 13:25:10 +00:00
continuous-integration/drone/pr Build is passing Details
4353aa9559
Accidentally left something I was testing in..oops
grumbulon added a new dependency 2022-06-29 13:53:46 +00:00
sam merged commit 98a14b1bf8 into master 2022-06-29 22:57:04 +00:00
Sign in to join this conversation.
No description provided.