mirror of
https://github.com/pikami/cosmium.git
synced 2026-11-12 21:42:15 +00:00
Added setting for LogLevel
This commit is contained in:
1 parent
c2c9dc03b3
commit
8b8b087aab
14 files changed
+200
-84
No files matched your search
@@ -9,7 +9,7 @@ import (
|
||||
func GetDefaultTlsConfig() *tls.Config {
|
||||
cert, err := tls.X509KeyPair([]byte(certificate), []byte(certificateKey))
|
||||
if err != nil {
|
||||
logger.Error("Failed to parse certificate and key:", err)
|
||||
logger.ErrorLn("Failed to parse certificate and key:", err)
|
||||
return &tls.Config{}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user