mirror of
https://github.com/sot-tech/mochi.git
synced 2026-07-21 07:28:10 -07:00
set mochi-2e2 as submodule
* update go version to 1.23 * remove sha256-simd dependency * fix logger file path
This commit is contained in:
+1
-2
@@ -32,9 +32,8 @@ var (
|
||||
// otherwise any goroutine, which uses logger will wait logger initialization
|
||||
func ConfigureLogger(output, level string, formatted, colored bool) (err error) {
|
||||
lvl := zerolog.WarnLevel
|
||||
output = strings.ToLower(output)
|
||||
var w io.Writer
|
||||
switch output {
|
||||
switch strings.ToLower(output) {
|
||||
case "stderr", "":
|
||||
w = os.Stderr
|
||||
case "stdout":
|
||||
|
||||
Reference in New Issue
Block a user