Skip to content

Commit 1f719d8

Browse files
committed
wip
1 parent da8d2fd commit 1f719d8

File tree

1 file changed

+22
-22
lines changed
  • src/content/reference/react-compiler

1 file changed

+22
-22
lines changed

src/content/reference/react-compiler/logger.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: logger
44

55
<Intro>
66

7-
The `logger` option provides custom logging for React Compiler events during compilation.
7+
`logger` 옵션은 컴파일 중 React 컴파일러 이벤트에 대한 커스텀 로깅을 제공합니다.
88

99
</Intro>
1010

@@ -22,49 +22,49 @@ The `logger` option provides custom logging for React Compiler events during com
2222

2323
---
2424

25-
## Reference {/*reference*/}
25+
## 레퍼런스 {/*reference*/}
2626

2727
### `logger` {/*logger*/}
2828

29-
Configures custom logging to track compiler behavior and debug issues.
29+
컴파일러 동작을 추적하고 문제를 디버깅하기 위한 커스텀 로깅을 설정합니다.
3030

31-
#### Type {/*type*/}
31+
#### 타입 {/*type*/}
3232

3333
```
3434
{
3535
logEvent: (filename: string | null, event: LoggerEvent) => void;
3636
} | null
3737
```
3838

39-
#### Default value {/*default-value*/}
39+
#### 기본값 {/*default-value*/}
4040

4141
`null`
4242

43-
#### Methods {/*methods*/}
43+
#### 메서드 {/*methods*/}
4444

45-
- **`logEvent`**: Called for each compiler event with the filename and event details
45+
- **`logEvent`**: 각 컴파일러 이벤트에 대해 파일명, 이벤트 세부 정보와 함께 호출됩니다.
4646

47-
#### Event types {/*event-types*/}
47+
#### 이벤트 타입 {/*event-types*/}
4848

49-
- **`CompileSuccess`**: Function successfully compiled
50-
- **`CompileError`**: Function skipped due to errors
51-
- **`CompileDiagnostic`**: Non-fatal diagnostic information
52-
- **`CompileSkip`**: Function skipped for other reasons
53-
- **`PipelineError`**: Unexpected compilation error
54-
- **`Timing`**: Performance timing information
49+
- **`CompileSuccess`**: 함수가 성공적으로 컴파일됨.
50+
- **`CompileError`**: 오류로 인해 함수가 건너뛰어짐.
51+
- **`CompileDiagnostic`**: 치명적이지 않은 진단 정보.
52+
- **`CompileSkip`**: 다른 이유로 함수가 건너뛰어짐.
53+
- **`PipelineError`**: 예기치 않은 컴파일 오류.
54+
- **`Timing`**: 성능 타이밍 정보.
5555

56-
#### Caveats {/*caveats*/}
56+
#### 주의 사항 {/*caveats*/}
5757

58-
- Event structure may change between versions
59-
- Large codebases generate many log entries
58+
- 이벤트 구조는 버전 간에 변경될 수 있습니다.
59+
- 대규모 코드베이스는 많은 로그 항목을 생성합니다.
6060

6161
---
6262

63-
## Usage {/*usage*/}
63+
## 사용법 {/*usage*/}
6464

65-
### Basic logging {/*basic-logging*/}
65+
### 기본 로깅 {/*basic-logging*/}
6666

67-
Track compilation success and failures:
67+
컴파일 성공과 실패를 추적합니다.
6868

6969
```js
7070
{
@@ -86,9 +86,9 @@ Track compilation success and failures:
8686
}
8787
```
8888

89-
### Detailed error logging {/*detailed-error-logging*/}
89+
### 상세 오류 로깅 {/*detailed-error-logging*/}
9090

91-
Get specific information about compilation failures:
91+
컴파일 실패에 대한 구체적인 정보를 확인합니다.
9292

9393
```js
9494
{

0 commit comments

Comments
 (0)