Documentation ¶
Index ¶
Constants ¶
View Source
const (
LogTimeFormat string = "20060102-150405"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsciinemaHook ¶
type AsciinemaHook struct {
// contains filtered or unexported fields
}
func (*AsciinemaHook) Close ¶
func (aLog *AsciinemaHook) Close() error
Close the STDOut keystroke channel for logging
func (*AsciinemaHook) Levels ¶
func (aLog *AsciinemaHook) Levels() []log.Level
type DummyWriter ¶
type DummyWriter struct{}
DummyWriter is a writer that discard everything that writes in Consider like writing into /dev/null
type LogHook ¶
type TTYDirection ¶
type TTYDirection int32
TTYDirection specifies the direction of data
const ( // TTYRead Indicates reading from terminal TTYRead TTYDirection = 1 // TTYWrite Indicates writing to terminal TTYWrite TTYDirection = 2 )
Click to show internal directories.
Click to hide internal directories.