moving logging function to common setting up client logging and db
This commit is contained in:
@@ -5,6 +5,7 @@ import "github.com/deranjer/gvc/common"
|
||||
//Gvcconfig will be the struct that holds the entire client settings
|
||||
type Gvcconfig struct {
|
||||
Version string `toml:"version"`
|
||||
LogLevel int `toml:"loglevel"` // Panic: 5, Fatal: 4, Error: 3, Warn: 2, Info: 1, debug: 0, trace: -1
|
||||
RootPath string `toml:"rootpath"`
|
||||
RepoName string `toml:"reponame"`
|
||||
Remotes []Remote `toml:"remote"` //The remote servers for the repo
|
||||
|
Reference in New Issue
Block a user