Documentation ¶
Index ¶
- Constants
- Variables
- func DisableGreaseLog()
- func MaestroDebug(a ...interface{})
- func MaestroDebugf(format string, a ...interface{})
- func MaestroError(a ...interface{})
- func MaestroErrorf(format string, a ...interface{})
- func MaestroInfo(a ...interface{})
- func MaestroInfof(format string, a ...interface{})
- func MaestroSuccess(a ...interface{})
- func MaestroSuccessf(format string, a ...interface{})
- func MaestroWarn(a ...interface{})
- func MaestroWarnf(format string, a ...interface{})
- func New_logBufferFifo(maxsize uint32) (ret *logBufferFifo)
- func SetGoLoggerReady()
- func SetLoggingLevel(ll string)
- func UpdatePrefixedLogger(l *PrefixedLogger, s string)
- type Client
- type PrefixedLogger
- func (this *PrefixedLogger) Debug(a ...interface{})
- func (this *PrefixedLogger) Debugf(format string, a ...interface{})
- func (this *PrefixedLogger) Error(a ...interface{})
- func (this *PrefixedLogger) Errorf(format string, a ...interface{})
- func (this *PrefixedLogger) Info(a ...interface{})
- func (this *PrefixedLogger) Infof(format string, a ...interface{})
- func (this *PrefixedLogger) Success(a ...interface{})
- func (this *PrefixedLogger) Successf(format string, a ...interface{})
- func (this *PrefixedLogger) Warn(a ...interface{})
- func (this *PrefixedLogger) Warnf(format string, a ...interface{})
Constants ¶
View Source
const TIMEOUT = time.Second * 10
Variables ¶
View Source
var Log = logging.MustGetLogger("maestro")
Functions ¶
func DisableGreaseLog ¶
func DisableGreaseLog()
func MaestroDebug ¶
func MaestroDebug(a ...interface{})
func MaestroDebugf ¶
func MaestroDebugf(format string, a ...interface{})
func MaestroError ¶
func MaestroError(a ...interface{})
func MaestroErrorf ¶
func MaestroErrorf(format string, a ...interface{})
func MaestroInfo ¶
func MaestroInfo(a ...interface{})
func MaestroInfof ¶
func MaestroInfof(format string, a ...interface{})
func MaestroSuccess ¶
func MaestroSuccess(a ...interface{})
func MaestroSuccessf ¶
func MaestroSuccessf(format string, a ...interface{})
func MaestroWarn ¶
func MaestroWarn(a ...interface{})
func MaestroWarnf ¶
func MaestroWarnf(format string, a ...interface{})
func New_logBufferFifo ¶
func New_logBufferFifo(maxsize uint32) (ret *logBufferFifo)
func SetGoLoggerReady ¶
func SetGoLoggerReady()
func SetLoggingLevel ¶
func SetLoggingLevel(ll string)
func UpdatePrefixedLogger ¶
func UpdatePrefixedLogger(l *PrefixedLogger, s string)
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewSymphonyClient ¶
func NewSymphonyClient(url string, clientid string, maxBuffers uint32, heartbeatInterval time.Duration) *Client
maxBuffers: this number represents the amount of stored log buffers we will hold before dropping them. This can be from 1 to [max amount of bytes from greasego callback] In effect, this should be close to the same number as NumBanks is set in the target options for the greasego target
func (*Client) SubmitLogs ¶
func (client *Client) SubmitLogs(data *greasego.TargetCallbackData, godata []byte)
type PrefixedLogger ¶
type PrefixedLogger struct {
// contains filtered or unexported fields
}
func NewPrefixedLogger ¶
func NewPrefixedLogger(s string) (ret *PrefixedLogger)
func (*PrefixedLogger) Debug ¶
func (this *PrefixedLogger) Debug(a ...interface{})
func (*PrefixedLogger) Debugf ¶
func (this *PrefixedLogger) Debugf(format string, a ...interface{})
func (*PrefixedLogger) Error ¶
func (this *PrefixedLogger) Error(a ...interface{})
func (*PrefixedLogger) Errorf ¶
func (this *PrefixedLogger) Errorf(format string, a ...interface{})
func (*PrefixedLogger) Info ¶
func (this *PrefixedLogger) Info(a ...interface{})
func (*PrefixedLogger) Infof ¶
func (this *PrefixedLogger) Infof(format string, a ...interface{})
func (*PrefixedLogger) Success ¶
func (this *PrefixedLogger) Success(a ...interface{})
func (*PrefixedLogger) Successf ¶
func (this *PrefixedLogger) Successf(format string, a ...interface{})
func (*PrefixedLogger) Warn ¶
func (this *PrefixedLogger) Warn(a ...interface{})
func (*PrefixedLogger) Warnf ¶
func (this *PrefixedLogger) Warnf(format string, a ...interface{})
Click to show internal directories.
Click to hide internal directories.