mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-15 22:01:08 +00:00
e7d7dcb090
* add redis queue * finished indexer redis queue * add redis vendor * fix vet * Update docs/content/doc/advanced/config-cheat-sheet.en-us.md Co-Authored-By: lunny <xiaolunwen@gmail.com> * switch to go mod * Update required changes for new logging func signatures
15 lines
188 B
Go
Vendored
15 lines
188 B
Go
Vendored
package internal
|
|
|
|
import (
|
|
"fmt"
|
|
"log"
|
|
)
|
|
|
|
var Logger *log.Logger
|
|
|
|
func Logf(s string, args ...interface{}) {
|
|
if Logger == nil {
|
|
return
|
|
}
|
|
Logger.Output(2, fmt.Sprintf(s, args...))
|
|
}
|