Documentation ¶
Index ¶
- Constants
- Variables
- func AppPath() string
- func Autobuild(files []string)
- func Debug(s string)
- func Debugf(format string, v ...interface{})
- func Error(s string)
- func Errorf(format string, v ...interface{})
- func Fatal(s string)
- func Fatalf(format string, v ...interface{})
- func FileExist(filename string) bool
- func Info(s string)
- func Infof(format string, v ...interface{})
- func Kill()
- func New() *logger
- func NewLogger() *logger
- func NewWatcher(paths []string, files []string)
- func ParseConfig() *config.Config
- func Restart(appname string)
- func Run(cmd, args string)
- func SetLogLevel(level Level)
- func Start(appname string)
- func Warn(s string)
- func Warnf(format string, v ...interface{})
- type Level
Constants ¶
View Source
const ( LevelFatal = iota LevelError LevelWarning LevelInfo LevelDebug )
Variables ¶
View Source
var (
Output string
)
/main starts
Functions ¶
func SetLogLevel ¶
func SetLogLevel(level Level)
Types ¶
Click to show internal directories.
Click to hide internal directories.