package
0.0.0-20241030154441-ed0afeddb1b5
Repository: https://github.com/bazelbuild/reclient.git
Documentation: pkg.go.dev

# Functions

AddCompletionStatus adds the correct CommandResultStatus that summarizes the given LogRecord and ExecutionStrategy.
CommandRemoteMetadataFromProto parses a RemoteMetadata proto into an sdk Metadata.
CommandRemoteMetadataToProto converts the sdk Metadata to RemoteMetadata proto.
New instantiates a new Logger.
NewFromFormatFile instantiates a new Logger.
NewLogRecord creates a new LogRecord without logging the start of an action.
ParseFilepath parses the given formatfile path and returns the format and filename of the given log file.
ParseFormat parses a string log file format into the enum.
ParseFromFile reads Records from a log file created by a Logger.
ParseFromFormatFile reads Records from a log file created by a Logger.
ParseFromLogDirs reads Records from log files created by a Logger.

# Constants

ReducedTextFormat means records are marshalled as proto-ASCII without the command inputs and args.
TextFormat means records marshalled as proto-ASCII.

# Structs

Logger logs Records asynchronously into a file.
LogRecord wraps proxy.LogRecord while tracking if the command has been ended yet for logging purposes.

# Type aliases

Format specifies how the Logger serializes its records.