Documentation
¶
Index ¶
- Constants
- type LogPostClient
- func (l *LogPostClient) Error(e error, format string, args ...interface{}) error
- func (l *LogPostClient) Fatal(e error, format string, args ...interface{})
- func (l *LogPostClient) Info(format string, args ...interface{})
- func (l *LogPostClient) PkgId() string
- func (l *LogPostClient) TraceEnd(format string, args ...interface{})
- func (l *LogPostClient) TraceStart(format string, args ...interface{})
Constants ¶
View Source
const (
DEFAULT_SENDER_QUEUE_SIZE = 100
)
View Source
const LOG_FLAGS = log.Ldate | log.Ltime | log.Lmicroseconds | log.Lshortfile
Full filename not required as of now.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogPostClient ¶
type LogPostClient struct { PkgName string PkgVersion string // contains filtered or unexported fields }
func InitLogger ¶
func InitLogger(pkgName, pkgVersion string, logLevel int32, remote_sender bool) *LogPostClient
func (*LogPostClient) Error ¶
func (l *LogPostClient) Error(e error, format string, args ...interface{}) error
func (*LogPostClient) Fatal ¶
func (l *LogPostClient) Fatal(e error, format string, args ...interface{})
func (*LogPostClient) Info ¶
func (l *LogPostClient) Info(format string, args ...interface{})
func (*LogPostClient) PkgId ¶
func (l *LogPostClient) PkgId() string
func (*LogPostClient) TraceEnd ¶
func (l *LogPostClient) TraceEnd(format string, args ...interface{})
func (*LogPostClient) TraceStart ¶
func (l *LogPostClient) TraceStart(format string, args ...interface{})
Click to show internal directories.
Click to hide internal directories.