mirror of
https://github.com/pikami/cosmium.git
synced 2025-12-18 08:20:56 +00:00
Added setting for LogLevel
This commit is contained in:
@@ -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