Documentation ¶
Index ¶
Constants ¶
View Source
const ( TypeValue = "diagnostic.1" DiagnosticKey = "diagnostic" )
Variables ¶
This section is empty.
Functions ¶
func ApplyParam ¶
func ThreadDumpV1FromGoroutines ¶
func ThreadDumpV1FromGoroutines(goroutinesContent []byte) logging.ThreadDumpV1
ThreadDumpV1FromGoroutines unmarshals a "goroutine dump" (as formatted by panic or the runtime package) and returns a conjured logging.ThreadDumpV1 object.
Types ¶
type Logger ¶
type Logger interface {
Diagnostic(diagnostic logging.Diagnostic, params ...Param)
}
func NewFromCreator ¶
func NewFromCreator(w io.Writer, creator wlog.LoggerCreator) Logger
type Param ¶
type Param interface {
// contains filtered or unexported methods
}
func UnsafeParam ¶
func UnsafeParams ¶
Click to show internal directories.
Click to hide internal directories.