package
2.34.1
Repository: https://github.com/skf/go-utility.git
Documentation: pkg.go.dev

# README

Log package

Environment variable config

VariableValues
CONSOLE_LOGGERtrue / false
LOG_LEVELdebug / info / warn / error

Default logger is json-logger
Default log level is info

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewSampleLogger will create a new logger which will sample logs and dropped if requested to often Logs which is written within `tick` be applied by first and thereafter `first` is amount of logs that will always will be outputted `thereafter` is used for outputten every n after within the `tick`.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WithTracing will take an OpenCensus trace and add log fields for Datadog.
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author