grim/peacock

13d711f5f347
Get the server running with the basic static stuff
package logging
import (
"github.com/aphistic/gomol"
"github.com/aphistic/gomol-console"
)
func Start() error {
cfg := gomolconsole.NewConsoleLoggerConfig()
logger, err := gomolconsole.NewConsoleLogger(cfg)
if err != nil {
return err
}
gomol.AddLogger(logger)
return gomol.InitLoggers()
}
func Stop() error {
return gomol.ShutdownLoggers()
}