1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-13 14:07:20 +00:00

Fix typos in models/ and modules/ (#1248)

This commit is contained in:
Ethan Koenig
2017-03-14 20:52:01 -04:00
committed by Lunny Xiao
parent ec0ae5d50c
commit 021904e4e6
26 changed files with 63 additions and 63 deletions

View File

@ -84,7 +84,7 @@ func Info(format string, v ...interface{}) {
}
}
// Warn records warnning log
// Warn records warning log
func Warn(format string, v ...interface{}) {
for _, logger := range loggers {
logger.Warn(format, v...)
@ -275,7 +275,7 @@ func (l *Logger) StartLogger() {
}
}
// Flush flushs all chan data.
// Flush flushes all chan data.
func (l *Logger) Flush() {
for _, l := range l.outputs {
l.Flush()
@ -321,7 +321,7 @@ func (l *Logger) Info(format string, v ...interface{}) {
l.writerMsg(0, INFO, msg)
}
// Warn records warnning log
// Warn records warning log
func (l *Logger) Warn(format string, v ...interface{}) {
msg := fmt.Sprintf("[W] "+format, v...)
l.writerMsg(0, WARN, msg)