Documentation ¶
Overview ¶
ログ関係。
Index ¶
- Constants
- Variables
- func InitConsole(root string)
- func Mosaic(str string) string
- func Setup(root, logType string, logLv level.Level, param interface{}) error
- func SetupConsole(root string, lv level.Level)
- func SetupFile(root string, lv level.Level, path string, limit int64, num int)
- func SetupFluentd(root string, lv level.Level, addr, tag string)
- type FileParameter
- type FluentdParameter
Constants ¶
View Source
const ( TypeConsole = "console" TypeFile = "file" TypeFluentd = "fluentd" )
Variables ¶
View Source
var DisplayLength = 8
Functions ¶
func InitConsole ¶
func InitConsole(root string)
func SetupConsole ¶
Types ¶
type FileParameter ¶
type FluentdParameter ¶
Click to show internal directories.
Click to hide internal directories.