Versions in this module Expand all Collapse all v1 v1.0.0 Apr 10, 2024 v0 v0.14.1 Feb 9, 2024 v0.14.0 Oct 27, 2023 Changes in this version + func LoadConfig(path string, cfg any, envKeywordParsers map[string]envldr.Parser, ...) error + func NewLogger(config LoggerConfig) (logger *log_level.Logger, out *os.File, err error) + func NewUnixListener(path string, uid int, gid int, mode fs.FileMode) (listener *net.UnixListener, err error) + func PrintInfo(items ...string) + func ToJsonStr(v any) (str string) + type LogFileError struct + func (e *LogFileError) Error() string + func (e *LogFileError) Unwrap() error + type LoggerConfig struct + FileName string + Level level.Level + Microseconds bool + Path string + Prefix string + Terminal bool + Utc bool + type SecretString string + func (s *SecretString) UnmarshalJSON(b []byte) error + func (s SecretString) MarshalJSON() ([]byte, error) + func (s SecretString) String() string