Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LC ¶
func LC(h primitives.BlockHeight, v primitives.View, id primitives.MemberId) *_LC
func MemberIdToStr ¶
func MemberIdToStr(memberId primitives.MemberId) string
func NewConsoleLogger ¶
func NewConsoleLogger() interfaces.Logger
func NewSilentLogger ¶
func NewSilentLogger() interfaces.Logger
Types ¶
type ConsoleLogger ¶
type ConsoleLogger struct {
// contains filtered or unexported fields
}
func (*ConsoleLogger) Debug ¶
func (l *ConsoleLogger) Debug(format string, args ...interface{})
func (*ConsoleLogger) Error ¶
func (l *ConsoleLogger) Error(format string, args ...interface{})
func (*ConsoleLogger) Info ¶
func (l *ConsoleLogger) Info(format string, args ...interface{})
type LHLogger ¶
type LHLogger interface { Debug(lc *_LC, format string, args ...interface{}) Info(lc *_LC, format string, args ...interface{}) Error(lc *_LC, format string, args ...interface{}) ExternalLogger() interfaces.Logger }
func NewLhLogger ¶
func NewLhLogger(externalLogger interfaces.Logger) LHLogger
type LogLevel ¶
type LogLevel int
const LEVEL_DEBUG LogLevel = 0
const LEVEL_ERROR LogLevel = 2
const LEVEL_INFO LogLevel = 1
type SilentLogger ¶
type SilentLogger struct { }
func (*SilentLogger) Debug ¶
func (*SilentLogger) Debug(format string, args ...interface{})
func (*SilentLogger) Error ¶
func (*SilentLogger) Error(format string, args ...interface{})
func (*SilentLogger) Info ¶
func (*SilentLogger) Info(format string, args ...interface{})
Click to show internal directories.
Click to hide internal directories.