Replaced logging.Logger with std log.Logger.
This commit is contained in:
parent
59544da625
commit
3327b30d12
@ -2,7 +2,6 @@ package http
|
||||
|
||||
import (
|
||||
"crypto/sha256"
|
||||
"dwelling-upload/pkg/logging"
|
||||
"dwelling-upload/pkg/utils"
|
||||
"dwelling-upload/web"
|
||||
"encoding/base64"
|
||||
@ -19,7 +18,7 @@ import (
|
||||
)
|
||||
|
||||
type UploadHandlers struct {
|
||||
logFile *logging.Logger
|
||||
logFile *log.Logger
|
||||
|
||||
uploadDir string
|
||||
uploadDirSize *int64
|
||||
@ -31,7 +30,7 @@ type UploadHandlers struct {
|
||||
limitFileSize int64
|
||||
}
|
||||
|
||||
func NewUploadHandlers(lFile *logging.Logger, uploadDir string, uploadDirSize *int64,
|
||||
func NewUploadHandlers(lFile *log.Logger, uploadDir string, uploadDirSize *int64,
|
||||
hashSalt string, keepForHours int, limStorage, limFileSz int64) *UploadHandlers {
|
||||
return &UploadHandlers{
|
||||
logFile: lFile,
|
||||
|
Loading…
Reference in New Issue
Block a user