Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LogcatRunner ¶
type LogcatRunner struct {
ADBClient *adb.Client
Logcat *adb.LogcatOptions
// contains filtered or unexported fields
}
func NewRunner ¶
func NewRunner(opts Options) (*LogcatRunner, error)
func (LogcatRunner) CheckIgnore ¶
func (run LogcatRunner) CheckIgnore(logEntry adb.AdbLineEntry) bool
func (LogcatRunner) DispatchEntry ¶
func (run LogcatRunner) DispatchEntry(logEntry *models.LogcatEntry)
func (LogcatRunner) Run ¶
func (run LogcatRunner) Run()
type Logging ¶
type Logging struct {
// Debug display debug level logging
Debug bool
// Debug display debug level logging
DebugDb bool
// LogScanErrors log errors related to scanning
LogScanErrors bool
// Silence all logging
Silence bool
}
Logging is log related options
type Options ¶
type Options struct {
// Logging is logging options
Logging Logging
ExcludeFilterList []string
IncludeFilterList []string
LogFile string
MinLevel string
UseDevice bool
UseEmulator bool
DeviceSerial string
PackageName string
AdbBinPath string
ClearOutput bool
ShowTime bool
ShowPid bool
}
Options are global github.com/helviojunior/adbcatadbcat options
func NewDefaultOptions ¶
func NewDefaultOptions() *Options
NewDefaultOptions returns Options with some default values
Click to show internal directories.
Click to hide internal directories.