//
pkg.gl
Category
github.com/iantal/ld
internal
util
package
1.0.2-ld
Repository:
https://github.com/iantal/ld.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
3
Files
29 SLOC
#
Functions
FromJSON
FromJSON deserializes the object from JSON string in an io.Reader to the given interface.
NewLogger
NewLogger initializes the standard logger.
ToJSON
ToJSON serializes the given interface into a string based JSON format.
#
Structs
Event
Event stores messages to log later, from our standard interface.
StandardLogger
StandardLogger enforces specific log message formats.