summaryrefslogtreecommitdiffstats
path: root/modules/log/console.go
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-07-26 18:37:18 -0400
committerUnknwon <joe2010xtmf@163.com>2014-07-26 18:37:18 -0400
commit5e8138341357f367868a32b631495c9d5a286477 (patch)
treefb36040422534e051ac381cde594ff1a208e4195 /modules/log/console.go
parent02a81ddb6252d1a08900d548ddb63e41bcb0b8ef (diff)
downloadgitea-5e8138341357f367868a32b631495c9d5a286477.tar.gz
gitea-5e8138341357f367868a32b631495c9d5a286477.zip
Git installation check, show image in single file view, show short SHA1 instead of 40-length string, complete log module
Diffstat (limited to 'modules/log/console.go')
-rw-r--r--modules/log/console.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/log/console.go b/modules/log/console.go
index 92d6c2a406..f5a8b96fd7 100644
--- a/modules/log/console.go
+++ b/modules/log/console.go
@@ -61,13 +61,13 @@ func (cw *ConsoleWriter) WriteMsg(msg string, skip, level int) error {
return nil
}
-func (_ *ConsoleWriter) Destroy() {
-}
-
func (_ *ConsoleWriter) Flush() {
}
+func (_ *ConsoleWriter) Destroy() {
+}
+
func init() {
Register("console", NewConsole)
}