mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-06 22:57:37 +03:00
Update deps
This commit is contained in:
parent
acc25fcefb
commit
96ffb21228
15 changed files with 124 additions and 85 deletions
2
vendor/github.com/jedisct1/dlog/LICENSE
generated
vendored
2
vendor/github.com/jedisct1/dlog/LICENSE
generated
vendored
|
@ -1,6 +1,6 @@
|
|||
BSD 2-Clause License
|
||||
|
||||
Copyright (c) 2018-2021, Frank Denis
|
||||
Copyright (c) 2018-2023, Frank Denis
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
|
|
18
vendor/github.com/jedisct1/dlog/dlog.go
generated
vendored
18
vendor/github.com/jedisct1/dlog/dlog.go
generated
vendored
|
@ -28,15 +28,13 @@ type globals struct {
|
|||
occurrences uint64
|
||||
}
|
||||
|
||||
var (
|
||||
_globals = globals{
|
||||
logLevel: SeverityLast,
|
||||
appName: "-",
|
||||
lastMessage: "",
|
||||
lastOccurrence: time.Now(),
|
||||
occurrences: 0,
|
||||
}
|
||||
)
|
||||
var _globals = globals{
|
||||
logLevel: SeverityLast,
|
||||
appName: "-",
|
||||
lastMessage: "",
|
||||
lastOccurrence: time.Now(),
|
||||
occurrences: 0,
|
||||
}
|
||||
|
||||
const (
|
||||
SeverityDebug Severity = iota
|
||||
|
@ -209,7 +207,7 @@ func createFileDescriptor() {
|
|||
} else {
|
||||
mode |= os.O_APPEND
|
||||
}
|
||||
outFd, err := os.OpenFile(*_globals.fileName, mode, 0644)
|
||||
outFd, err := os.OpenFile(*_globals.fileName, mode, 0o644)
|
||||
if err == nil {
|
||||
_globals.outFd = outFd
|
||||
}
|
||||
|
|
1
vendor/github.com/jedisct1/dlog/sysdeps_others.go
generated
vendored
1
vendor/github.com/jedisct1/dlog/sysdeps_others.go
generated
vendored
|
@ -1,3 +1,4 @@
|
|||
//go:build !windows
|
||||
// +build !windows
|
||||
|
||||
package dlog
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue