log-collector-async 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.env.example ADDED
@@ -0,0 +1,58 @@
1
+ # 로그 클라이언트 환경 변수 설정 예시
2
+
3
+ # ========================================
4
+ # Node.js 환경용
5
+ # ========================================
6
+ # 이 파일을 .env로 복사: cp .env.example .env
7
+
8
+ # 로그 서버 URL (필수)
9
+ LOG_SERVER_URL=http://localhost:8000
10
+
11
+ # 서비스 이름 (선택, package.json의 name 필드가 없을 때 사용)
12
+ SERVICE_NAME=my-service
13
+
14
+ # 환경 (선택, 기본값: development)
15
+ # 가능한 값: production, staging, development, test, local
16
+ NODE_ENV=development
17
+
18
+ # 서비스 버전 (선택, package.json의 version 필드가 없을 때 사용)
19
+ SERVICE_VERSION=v1.0.0
20
+
21
+ # 로그 타입 (선택, 기본값: BACKEND)
22
+ # 가능한 값: BACKEND, FRONTEND, MOBILE, IOT, WORKER
23
+ LOG_TYPE=BACKEND
24
+
25
+
26
+ # ========================================
27
+ # 브라우저 환경용 (빌드 시점 환경 변수)
28
+ # ========================================
29
+
30
+ # React 프로젝트
31
+ # REACT_APP_LOG_SERVER_URL=http://localhost:8000
32
+ # REACT_APP_SERVICE_NAME=web-app
33
+ # REACT_APP_ENVIRONMENT=production
34
+ # REACT_APP_SERVICE_VERSION=v2.1.0
35
+ # REACT_APP_LOG_TYPE=FRONTEND
36
+
37
+ # Vue 프로젝트
38
+ # VUE_APP_LOG_SERVER_URL=http://localhost:8000
39
+ # VUE_APP_SERVICE_NAME=web-app
40
+ # VUE_APP_ENVIRONMENT=production
41
+ # VUE_APP_SERVICE_VERSION=v2.1.0
42
+ # VUE_APP_LOG_TYPE=FRONTEND
43
+
44
+ # Vite 프로젝트 (추천)
45
+ # VITE_LOG_SERVER_URL=http://localhost:8000
46
+ # VITE_SERVICE_NAME=web-app
47
+ # VITE_ENVIRONMENT=production
48
+ # VITE_SERVICE_VERSION=v2.1.0
49
+ # VITE_LOG_TYPE=FRONTEND
50
+
51
+
52
+ # ========================================
53
+ # 우선순위
54
+ # ========================================
55
+ # 1. 코드에서 명시적으로 전달한 값
56
+ # 2. 환경 변수 (.env 파일 또는 시스템 환경 변수)
57
+ # 3. package.json (Node.js만, name과 version 필드)
58
+ # 4. 기본값