Documentation ¶
Index ¶
Constants ¶
View Source
const ( CallerAwareModePreferFile CallerAwareMode = 0 CallerAwareModePreferFunction CallerAwareMode = 1 CallerAwareDetailSimplified CallerAwareDetail = 0 CallerAwareDetailDetailed CallerAwareDetail = 1 )
Variables ¶
View Source
var ( DefaultFactory = NewCallerAwareFactory(CallerAwareModePreferFile, CallerAwareDetailSimplified) DefaultFactoryFacade = NewFacade(func() Factory { return DefaultFactory }) )
Functions ¶
This section is empty.
Types ¶
type CallerAware ¶
type CallerAwareDetail ¶ added in v0.5.0
type CallerAwareDetail uint8
type CallerAwareImpl ¶
type CallerAwareImpl struct { Function string File string Line int Mode CallerAwareMode Detail CallerAwareDetail }
func (CallerAwareImpl) Get ¶
func (instance CallerAwareImpl) Get() interface{}
func (*CallerAwareImpl) GetFile ¶
func (instance *CallerAwareImpl) GetFile() string
func (*CallerAwareImpl) GetFunction ¶
func (instance *CallerAwareImpl) GetFunction() string
func (*CallerAwareImpl) GetLine ¶
func (instance *CallerAwareImpl) GetLine() int
type CallerAwareMode ¶
type CallerAwareMode uint8
type Factory ¶
func NewCallerAwareFactory ¶ added in v0.5.0
func NewCallerAwareFactory(mode CallerAwareMode, detail CallerAwareDetail) Factory
Click to show internal directories.
Click to hide internal directories.