Documentation
¶
Overview ¶
Package names provides utility functions to work with names.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CurrentPackageLoggerNameCustomizer func(framesToSkip int) string
CurrentPackageLoggerNameCustomizer will override the default behavior of CurrentPackageLoggerNameGenerator if set.
View Source
var FullLoggerNameCustomizer func(something interface{}) string
FullLoggerNameCustomizer will override the default behavior of FullLoggerNameGenerator if set.
Functions ¶
func CurrentPackageLoggerNameGenerator ¶
CurrentPackageLoggerNameGenerator creates a meaningful name for loggers with the package of the caller who calls this method (respecting the frameToSkip).
func FullLoggerNameGenerator ¶
func FullLoggerNameGenerator(something interface{}) string
FullLoggerNameGenerator creates a meaningful name for loggers with the full name out of given objects.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.