diff options
| author | Shulhan <ms@kilabit.info> | 2024-02-04 14:43:41 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-02-04 14:47:00 +0700 |
| commit | 48e6dced72d470d78c8f58f4dc703528eb092c3c (patch) | |
| tree | 0fea8f8ffcc726583cf3c120643fefcdca403d28 /lib/http | |
| parent | d972ea84e709ba5b1a141be01babeb442269ae11 (diff) | |
| download | pakakeh.go-48e6dced72d470d78c8f58f4dc703528eb092c3c.tar.xz | |
lib/dns: change the log mechanism by mode instead of by level
This changes introduce three mode of debug:
- DebugLevelDNS: log error on DNS level, in example empty answer,
ERR_NAME (domain name is invalid or not known) and so on.
- DebugLevelCache: log cache operations.
- DebugLevelConnPacket: log low level connection and package,
including request and response.
Diffstat (limited to 'lib/http')
0 files changed, 0 insertions, 0 deletions
