Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllCommandsAndLogCommand ¶
func AllCommandsAndLogCommand(args []string)
AllCommandsAndLogCommand implements "all-commands" subcommand, which lists all log files with their command lines.
func FailIfInZenlog ¶
func FailIfInZenlog()
FailIfInZenlog quites the current process with an error code with an error message if it's running in a zenlog session.
func FailUnlessInZenlog ¶
func FailUnlessInZenlog()
FailUnlessInZenlog quites the current process with an error code with an error message unless it's running in a zenlog session.
func InZenlog ¶
func InZenlog() bool
InZenlog true if the current process is running in a zenlog session.
func LoggerPipe ¶
func LoggerPipe()
LoggerPipe prints named pile filename to the logger. Implies FailUnlessInZenlog().
func MaybeRunBuiltin ¶
MaybeRunBuiltin runs a builtin command if a given command is a builtin subcommand.
func OuterTty ¶
func OuterTty()
OuterTty prints the outer TTY device filename. Implies FailUnlessInZenlog().
func WriteToLogger ¶
func WriteToLogger()
WriteToLogger read from STDIN and writes to the current logger. Implies FailUnlessInZenlog().
func WriteToOuter ¶
func WriteToOuter()
WriteToOuter read from STDIN and writes to the console, without logging. Implies FailUnlessInZenlog().
Types ¶
This section is empty.