adding logging to server
This commit is contained in:
		@@ -8,6 +8,7 @@ import (
 | 
			
		||||
// GvcServerConfig will hold the base server settings
 | 
			
		||||
type GvcServerConfig struct {
 | 
			
		||||
	LogFile          string       `toml:"logfile"`          // Where to store the echo logs
 | 
			
		||||
	LogLevel         int          `toml:"loglevel"`         // Panic: 5, Fatal: 4, Error: 3, Warn: 2, Info: 1, debug: 0, trace: -1
 | 
			
		||||
	DatabaseLocation string       `toml:"databaselocation"` // Location of the database
 | 
			
		||||
	Database         *storm.DB    // DB Handle for passing around
 | 
			
		||||
	Version          string       `toml:"version"`      // The server version
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user