Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultLogDir ¶
func GetDefaultLogDir() string
GetDefaultLogDir returns default log directory
Types ¶
type LogOpts ¶
type LogOpts struct { Debug bool `json:"debug,omitempty"` DebugSQL bool `json:"debugSQL,omitempty"` LogDir string `json:"logDir,omitempty"` Quiet bool `json:"quiet,omitempty"` }
LogOpts has options for logging
type Logger ¶
Logger has logrus entry
var Log Logger
Log for localhost
func NewCustomLogger ¶
NewCustomLogger creates logrus
Click to show internal directories.
Click to hide internal directories.