소스 검색

更新read me

tags/v1.3.0
liangzy 4 년 전
부모
커밋
e6655504e9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      funtion.go

+ 1
- 1
funtion.go 파일 보기

@@ -35,7 +35,7 @@ var adatperMapper = map[Adapter]func(l *Logger, level Level) error{
AdapterElasticSearch: func(l *Logger, level Level) error {

dsn := "http://es-cn-0pp1mm3hq000dnbh4.public.elasticsearch.aliyuncs.com:9200/"
if envkey == "prod" || envkey == "" || envkey == "gray" {
if os.Getenv(envkey) == "prod" || os.Getenv(envkey) == "" || os.Getenv(envkey) == "gray" {
dsn = "http://es-cn-0pp1mm3hq000dnbh4.elasticsearch.aliyuncs.com:9200/"
}



불러오는 중...
취소
저장