Documentation
¶
Overview ¶
Package aghslog contains logging constants and helpers.
Index ¶
Constants ¶
View Source
const ( // KeyClientName is the log attribute for the client name. KeyClientName = "client_name" // KeyUpstreamType is the log attribute for the upstream types. See the // UpstreamType* constants below. KeyUpstreamType = "upstream_type" )
View Source
const ( // UpstreamTypeBootstrap is the log attribute value for bootstrap upstreams. UpstreamTypeBootstrap = "bootstrap" // UpstreamTypeCustom is the log attribute value for custom upstreams. UpstreamTypeCustom = "custom" // UpstreamTypeFallback is the log attribute value for fallback upstreams. UpstreamTypeFallback = "fallback" // UpstreamTypeMain is the log attribute value for main upstreams. UpstreamTypeMain = "main" // UpstreamTypeLocal is the log attribute value for upstreams used for // resolving PTR records for local addresses. UpstreamTypeLocal = "local" // UpstreamTypeService is the log attribute value for upstreams used for // safe browsing and parental services. UpstreamTypeService = "service" // UpstreamTypeTest is the log attribute value for upstreams used for // testing and validation. UpstreamTypeTest = "test" )
View Source
const PrefixDNSProxy = "dnsproxy"
PrefixDNSProxy is the prefix for DNS proxy logs.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.