mirror of
https://github.com/pikami/tiktok-dl.git
synced 2026-01-06 19:16:15 +00:00
Merge branch 'master' into master
This commit is contained in:
@@ -3,6 +3,7 @@ package utils
|
||||
import (
|
||||
config "../models/config"
|
||||
"fmt"
|
||||
"os"
|
||||
)
|
||||
|
||||
// Log - Write to std out
|
||||
@@ -23,3 +24,8 @@ func Logf(format string, a ...interface{}) {
|
||||
func LogFatal(format string, a ...interface{}) {
|
||||
panic(fmt.Sprintf(format, a...))
|
||||
}
|
||||
|
||||
// LogErr - Write error
|
||||
func LogErr(format string, a ...interface{}) {
|
||||
fmt.Fprintf(os.Stderr, format, a...)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user