README ¶ log-go The logger based on lorg and structured-logger-go, main goal of that package is decreasing amount of spaghetti code in microservices. Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type Logger func New(debug bool, trace bool, traceFile string) *Logger func (logger *Logger) NewChild() *Logger func (logger *Logger) NewChildWithPrefix(prefix string) *Logger func (logger *Logger) Println(v ...interface{}) func (logger *Logger) TraceJSON(obj interface{}) (encoded string) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Logger ¶ type Logger struct { *structured.Logger } func New ¶ func New(debug bool, trace bool, traceFile string) *Logger func (*Logger) NewChild ¶ func (logger *Logger) NewChild() *Logger func (*Logger) NewChildWithPrefix ¶ func (logger *Logger) NewChildWithPrefix(prefix string) *Logger func (*Logger) Println ¶ func (logger *Logger) Println(v ...interface{}) func (*Logger) TraceJSON ¶ func (logger *Logger) TraceJSON(obj interface{}) (encoded string) Source Files ¶ View all Source files log.go Click to show internal directories. Click to hide internal directories.