Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManageLog ¶
type ManageLog interface { // LogDir returns the directory where the log files are written. LogDir() string // Stats returns stats on how many lines/bytes haven been written to // this set of logs. Stats() (Info, Error struct{ Lines, Bytes int64 }) // ConfigureLoggerFromFlags will configure the supplied logger using // command line flags. ConfigureFromFlags(opts ...vlog.LoggingOpts) error // ConfigureFromArgs will configure the supplied logger using the supplied // arguments. ConfigureFromArgs(opts ...vlog.LoggingOpts) error // ExplicitlySetFlags returns a map of the logging command line flags and their // values formatted as strings. Only the flags that were explicitly set are // returned. This is intended for use when an application needs to know what // value the flags were set to, for example when creating subprocesses. ExplicitlySetFlags() map[string]string }
ManageLog defines the methods for managing and configuring a logger.
type ManagedLogger ¶
ManagedLogger consists of both the core logging operations and management operations. All replacements for the module v.io/x/ref/internal/logger must implement this interface.
Click to show internal directories.
Click to hide internal directories.