Fix logger prefixes.

This commit is contained in:
Qi Xiao 2016-02-13 21:40:54 +01:00
parent 4ed010ab7d
commit d377d89dcb
3 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ import (
"github.com/elves/elvish/sys"
)
var Logger = logutil.GetLogger("edit")
var Logger = logutil.GetLogger("[edit] ")
const (
lackEOLRune = '\u23ce'

View File

@ -17,7 +17,7 @@ import (
"github.com/elves/elvish/store"
)
var Logger = logutil.GetLogger("eval")
var Logger = logutil.GetLogger("[eval] ")
// FnPrefix is the prefix for the variable names of functions. Defining a
// function "foo" is equivalent to setting a variable named FnPrefix + "foo".

View File

@ -28,7 +28,7 @@ const (
outChanLeader = "▶ "
)
var Logger = logutil.GetLogger("main")
var Logger = logutil.GetLogger("[main] ")
func usage() {
fmt.Println("usage: elvish [flags] [script]")