add ctoplogger, log facility, socket server

This commit is contained in:
Bradley Cicenas
2017-02-04 02:01:52 +00:00
parent 3f36e0c1f5
commit 03789b8ed3
3 changed files with 91 additions and 5 deletions

View File

@@ -1,9 +1,12 @@
package main
import (
"github.com/bcicen/ctop/logging"
ui "github.com/gizak/termui"
)
var log = logging.New(GlobalConfig["loggingEnabled"])
func main() {
if err := ui.Init(); err != nil {
panic(err)