firehose-to-syslog: github.com/cloudfoundry-community/firehose-to-syslog/logging Index | Files | Directories

package logging

import "github.com/cloudfoundry-community/firehose-to-syslog/logging"

Index

Package Files

logging.go logging_logrus.go

func GetLogFormatter Uses

func GetLogFormatter(logFormatterType string) logrus.Formatter

func Log Uses

func Log(message string, force bool, isError bool, err interface{})

func LogError Uses

func LogError(message string, errMsg interface{})

func LogStd Uses

func LogStd(message string, force bool)

type Logging Uses

type Logging interface {
    Connect() bool
    ShipEvents(map[string]interface{}, string)
}

func NewLogging Uses

func NewLogging(SyslogServerFlag string, SysLogProtocolFlag string, LogFormatterFlag string, certP string, DebugFlag bool) Logging

type LoggingLogrus Uses

type LoggingLogrus struct {
    Logger *logrus.Logger
    // contains filtered or unexported fields
}

func (*LoggingLogrus) Connect Uses

func (l *LoggingLogrus) Connect() bool

func (*LoggingLogrus) ShipEvents Uses

func (l *LoggingLogrus) ShipEvents(eventFields map[string]interface{}, Message string)

Directories

PathSynopsis
loggingfakesThis file was generated by counterfeiter

Package logging imports 7 packages (graph) and is imported by 33 packages. Updated 2017-10-09. Refresh now. Tools for package owners.