Commit graph

12 commits

Author SHA1 Message Date
grumbulon 3d1f63144c yea 2022-06-30 08:43:06 -04:00
Sam Therapy 5035898c13
Add a LICENSE
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-06-29 23:12:30 +02:00
grumbulon 98a14b1bf8 Merge logawl package into master (#10)
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).

Co-authored-by: grumbulon <grumbulon@dismail.de>
Reviewed-on: sam/awl#10
Co-authored-by: grumbulon <grumbulon@grumbulon.xyz>
Co-committed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-06-29 22:57:03 +00:00
grumbulon 4353aa9559 Accidentally left something I was testing in..oops 2022-06-29 09:25:06 -04:00
grumbulon f7e5a7adee Added fatal logging, made doc for package better, and some minor changes 2022-06-29 09:22:28 -04:00
grumbulon 6d30a5ad9b Logging works bretty good now 2022-06-28 14:11:49 -04:00
grumbulon a36f1b8685 Added debuge flag, and added init for logawl 2022-06-28 12:12:52 -04:00
grumbulon 8c61f9f409 logging (#1)
Promoting branch to master

Co-authored-by: grumbulon <grumbulon@dismail.de>
Reviewed-on: #1
2022-06-26 04:07:58 +00:00
grumbulon 182ec20469 Revert "hehe off-by-one"
This reverts commit db78235ecd.

Reverting to old commit because I fucked up
2022-06-25 13:46:38 -04:00
Sam Therapy db78235ecd
hehe off-by-one
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-06-23 23:18:54 +02:00
Sam Therapy bf06f7a3aa
I am still somehow getting paid to do this 2022-06-23 23:12:48 +02:00
Sam Therapy 160c89ca1e
I got paid to write this 2022-06-22 22:59:17 +02:00