update debug log usage and add fanciness to log printing
This commit is contained in:
parent
91498926d5
commit
1f192607b2
8 changed files with 27 additions and 25 deletions
|
|
@ -51,7 +51,7 @@ func ShellCompleter(line string, vt ast.VarTable, ft ast.FuncTable) []string {
|
|||
|
||||
fobjs, err := ioutil.ReadDir(dir)
|
||||
if err != nil {
|
||||
log.Log(log.DEBUG,
|
||||
log.Log(log.INFO,
|
||||
"couldnt read dir " + dir + ": " + err.Error(),
|
||||
"complete")
|
||||
if path {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue