Documentation
¶
Overview ¶
Package consolelog streams console logs from Steam's CEF debugger via CDP.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
Collector streams console logs from Steam's CEF debugger to the Hub.
func NewCollector ¶
func NewCollector(sendFn func(protocol.ConsoleLogBatch)) *Collector
NewCollector creates a new console log collector. sendFn is called each flush with a batch of entries.
func (*Collector) GetLevelMask ¶
GetLevelMask returns the current log level bitmask filter.
func (*Collector) SetLevelMask ¶
SetLevelMask sets the log level bitmask filter.
Click to show internal directories.
Click to hide internal directories.