Versions in this module Expand all Collapse all v0 v0.1.0 Jan 12, 2022 Changes in this version + func GetLocalIPs() []string + func NewFileWriter(fileName string) (io.Writer, error) + func NewLogger(tags map[string]string, writers ...io.Writer) zerolog.Logger + func NewRollingWriter(fileName string, maxSize, maxAge, maxBackups int, compress, localtime bool) io.Writer + func NewStderrWriter() io.Writer + func NewStdoutWriter() io.Writer v0.0.1 Oct 26, 2021 Changes in this version + const App + const IP + const Method + const Module + var AppName string + func GetLogger(logFile string, level string, withStdout bool) zerolog.Logger + func NewLog(filename string, writers ...io.Writer) zerolog.Logger + type CodeError struct + App string + ErrorCode stderrorcode.ErrorCode + Message string + func NewCodeError(code stderrorcode.ErrorCode, message string) *CodeError + func (s *CodeError) Error() string + type FieldError struct + FieldErrors map[string]string + func NewFieldError(fieldErrors map[string]string) *FieldError + func NewFieldErrorKV(kvs ...string) *FieldError