...
Package logger
deprecated. this package no longer implements any functionality.
- type AsyncLogQueue
- func NewAsyncLogQueue(appname string, buildid, repoid uint64, group, namespace, deplid string) (*AsyncLogQueue, error)
- func (alq *AsyncLogQueue) Close(exitcode int) error
- func (alq *AsyncLogQueue) Flush() error
- func (alq *AsyncLogQueue) Log(status string, format string, a ...interface{})
- func (alq *AsyncLogQueue) LogCommandStdout(line string, status string) error
- func (alq *AsyncLogQueue) SetStartupID(s string)
- func (alq *AsyncLogQueue) SetStatus(status string)
- func (alq *AsyncLogQueue) String() string
- func (alq *AsyncLogQueue) Write(buf []byte) (int, error)
Package files
logger.go
type AsyncLogQueue struct{}
func NewAsyncLogQueue(appname string, buildid, repoid uint64, group, namespace, deplid string) (*AsyncLogQueue, error)
func (*AsyncLogQueue) Close
¶
func (alq *AsyncLogQueue) Close(exitcode int) error
func (*AsyncLogQueue) Flush
¶
func (alq *AsyncLogQueue) Flush() error
func (*AsyncLogQueue) Log
¶
func (alq *AsyncLogQueue) Log(status string, format string, a ...interface{})
func (alq *AsyncLogQueue) LogCommandStdout(line string, status string) error
func (alq *AsyncLogQueue) SetStartupID(s string)
func (*AsyncLogQueue) SetStatus
¶
func (alq *AsyncLogQueue) SetStatus(status string)
func (*AsyncLogQueue) String
¶
func (alq *AsyncLogQueue) String() string
func (*AsyncLogQueue) Write
¶
func (alq *AsyncLogQueue) Write(buf []byte) (int, error)