Documentation ¶
Index ¶
- Constants
- func DefaultFormat() string
- func Formats() []string
- func GetLogger(format string, verbose bool, logWriter io.Writer, logFile *os.File) (*echelon.Logger, func())
- func NewGithubActionsLogsRenderer(renderer *renderers.SimpleRenderer) echelon.LogRendered
- func NewTeamCityLogsRenderer(renderer *renderers.SimpleRenderer) echelon.LogRendered
- func NewTravisCILogsRenderer(renderer *renderers.SimpleRenderer) echelon.LogRendered
- type FoldableLogsRenderer
Constants ¶
View Source
const ( OutputAuto = "auto" OutputInteractive = "interactive" OutputNoEmoji = "noemoji" OutputSimple = "simple" OutputTravis = "travis" OutputGA = "github-actions" OutputTeamCity = "teamcity" )
Variables ¶
This section is empty.
Functions ¶
func DefaultFormat ¶ added in v0.9.0
func DefaultFormat() string
func NewGithubActionsLogsRenderer ¶
func NewGithubActionsLogsRenderer(renderer *renderers.SimpleRenderer) echelon.LogRendered
func NewTeamCityLogsRenderer ¶ added in v0.10.0
func NewTeamCityLogsRenderer(renderer *renderers.SimpleRenderer) echelon.LogRendered
func NewTravisCILogsRenderer ¶
func NewTravisCILogsRenderer(renderer *renderers.SimpleRenderer) echelon.LogRendered
Types ¶
type FoldableLogsRenderer ¶
type FoldableLogsRenderer struct {
// contains filtered or unexported fields
}
Foldable log renderer prints start and end messages when a scope is started and finished respectively.
func (FoldableLogsRenderer) RenderMessage ¶
func (r FoldableLogsRenderer) RenderMessage(entry *echelon.LogEntryMessage)
func (FoldableLogsRenderer) RenderScopeFinished ¶
func (r FoldableLogsRenderer) RenderScopeFinished(entry *echelon.LogScopeFinished)
func (FoldableLogsRenderer) RenderScopeStarted ¶
func (r FoldableLogsRenderer) RenderScopeStarted(entry *echelon.LogScopeStarted)
Click to show internal directories.
Click to hide internal directories.