package
0.0.2
Repository: https://github.com/hhy5861/go-common.git
Documentation: pkg.go.dev

# README

logrus std out (file | kafka | logstash | redis | elasticsearch)

std out file config:

logger:
    stdOut: file
    debug: true
    savePath: /data/logs/golang/backend-server

std out logstash config:

logger:
    stdOut: logstash
    debug: true
    logStashHost: 127.0.0.1
    logStashPort: 30693

std out redis config:

logger:
    stdOut: redis
    debug: true
    redisHost: 127.0.0.1
    redisPort: 30079
    redisDB: 10

std out kafka config:

logger:
    stdOut: kafka
    debug: true
    brokers: 
      - 127.0.0.1
      - 10.10.100.21
    topics: 
      - errors
      - info
      - warn

use:

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author