update debug log usage and add fanciness to log printing

This commit is contained in:
Aidan 2020-07-23 12:08:29 -07:00
parent 91498926d5
commit 1f192607b2
No known key found for this signature in database
GPG key ID: 327711E983899316
8 changed files with 27 additions and 25 deletions

View file

@ -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 {