logflags

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close()

Close closes the logger output.

func DAP

func DAP() bool

DAP returns true if dap package should log.

func DAPLogger

func DAPLogger() *logrus.Entry

DAPLogger returns a logger for dap package.

func DebugLineErrors

func DebugLineErrors() bool

DebugLineErrors returns true if pkg/dwarf/line should log its recoverable errors.

func Debugger

func Debugger() bool

Debugger returns true if the debugger package should log.

func DebuggerLogger

func DebuggerLogger() *logrus.Entry

DebuggerLogger returns a logger for the debugger package.

func FnCall

func FnCall() bool

FnCall returns true if the function call protocol should be logged.

func FnCallLogger

func FnCallLogger() *logrus.Entry

func GdbWire

func GdbWire() bool

GdbWire returns true if the gdbserial package should log all the packets exchanged with the stub.

func GdbWireLogger

func GdbWireLogger() *logrus.Entry

GdbWireLogger returns a configured logger for the gdbserial wire protocol.

func LLDBServerOutput

func LLDBServerOutput() bool

LLDBServerOutput returns true if the output of the LLDB server should be redirected to standard output instead of suppressed.

func Minidump

func Minidump() bool

Minidump returns true if the minidump loader should be logged.

func MinidumpLogger

func MinidumpLogger() *logrus.Entry

func RPC

func RPC() bool

RPC returns true if RPC messages should be logged.

func RPCLogger

func RPCLogger() *logrus.Entry

RPCLogger returns a logger for RPC messages.

func Setup

func Setup(logFlag bool, logstr string, logDest string) error

Setup sets debugger flags based on the contents of logstr. If logDest is not empty logs will be redirected to the file descriptor or file path specified by logDest.

func WriteAPIListeningMessage

func WriteAPIListeningMessage(addr string)

WriteAPIListeningMessage writes the "API server listening" message in headless mode.

func WriteDAPListeningMessage

func WriteDAPListeningMessage(addr string)

WriteDAPListeningMessage writes the "DAP server listening" message in dap mode.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL