Commit graph

7 commits

Author SHA1 Message Date
cd63082d8f Rewrite of query.go to support interface for Resolver, and refactor of tests to work with new code 2022-07-03 13:36:56 -04:00
Sam
220964fc02 Windows and Plan 9 DNS Config (#17)
All checks were successful
continuous-integration/drone/push Build is passing
Closes #14, #15

Co-authored-by: Sam Therapy <sam@samtherapy.net>
Reviewed-on: #17
2022-06-30 22:37:08 +00:00
5035898c13
Add a LICENSE
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-06-29 23:12:30 +02:00
98a14b1bf8 Merge logawl package into master (#10)
All checks were successful
continuous-integration/drone/push Build is passing
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: #10
Co-authored-by: grumbulon <grumbulon@grumbulon.xyz>
Co-committed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-06-29 22:57:03 +00:00
db78235ecd
hehe off-by-one
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-06-23 23:18:54 +02:00
bf06f7a3aa
I am still somehow getting paid to do this
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-23 23:12:48 +02:00
160c89ca1e
I got paid to write this 2022-06-22 22:59:17 +02:00