package
0.1.8
Repository: https://github.com/trustbloc/edge-core.git
Documentation: pkg.go.dev

# Functions

GetSampleCustomLogger returns custom logger which can only be used for testing purposes.
NewDefLog returns new DefLog instance based on given module.
NewModLog returns new moduled logger instance based on given logger implementation and module.
SwitchLogOutputToBuffer switches log output to test buffer.
VerifyCustomLogger verifies custom logging behaviour.
VerifyDefaultLogging verifies default logging behaviour.

# Structs

DefLog is a logger implementation built on top of standard go log.
ModLog is a moduled wrapper for any underlying 'log.Logger' implementation.
SampleLog is a sample logger implementation for testing purposes.

# Interfaces

Logger - Standard logger interface.