utils/logger.go
exported method StructuredLoggerEntry.Panic should have comment or be unexported Open
Open
func (l *StructuredLoggerEntry) Panic(v interface{}, stack []byte) {
- Exclude checks
exported function NewStructuredLogger should have comment or be unexported Open
Open
func NewStructuredLogger(logger *logrus.Logger) func(next http.Handler) http.Handler {
- Exclude checks
exported function LogEntrySetField should have comment or be unexported Open
Open
func LogEntrySetField(r *http.Request, key string, value interface{}) {
- Exclude checks
exported method StructuredLogger.NewLogEntry should have comment or be unexported Open
Open
func (l *StructuredLogger) NewLogEntry(r *http.Request) middleware.LogEntry {
- Exclude checks
exported function GetLogEntry should have comment or be unexported Open
Open
func GetLogEntry(r *http.Request) logrus.FieldLogger {
- Exclude checks
don't use underscores in Go names; var err_str should be errStr Open
Open
err_str := `{
- Exclude checks
exported function LogEntrySetFields should have comment or be unexported Open
Open
func LogEntrySetFields(r *http.Request, fields map[string]interface{}) {
- Exclude checks