MCPcopy Index your code
hub / github.com/cloudflare/cloudflared / DefaultLogDirectory

Function DefaultLogDirectory

config/configuration.go:62–67  ·  view source on GitHub ↗

DefaultLogDirectory returns the default directory for log files

()

Source from the content-addressed store, hash-verified

60
61// DefaultLogDirectory returns the default directory for log files
62func DefaultLogDirectory() string {
63 if runtime.GOOS == "windows" {
64 return DefaultConfigDirectory()
65 }
66 return DefaultUnixLogLocation
67}
68
69// DefaultConfigPath returns the default location of a config file
70func DefaultConfigPath() string {

Callers 1

FindOrCreateConfigPathFunction · 0.85

Calls 1

DefaultConfigDirectoryFunction · 0.85

Tested by

no test coverage detected