Table of Contents

Class UnityLogWriter

Namespace
Framework.Systems.Diagnostics.Logging
Assembly
Assembly-CSharp.dll

ILogWriter 개발용 구현체. LogLevel에 따라 UnityEngine.Debug 출력.

public class UnityLogWriter : ILogWriter
Inheritance
object
UnityLogWriter
Implements

Remarks

UNITY_EDITOR 또는 DEVELOPMENT_BUILD 빌드에서만 RootScope에 등록. 릴리즈에서는 NullLogWriter로 교체해 불필요한 문자열 생성 비용 제거.

Methods

Write(LogLevel, string)

지정 레벨로 메시지 출력.

public void Write(LogLevel level, string message)

Parameters

level LogLevel

출력 레벨(Info/Warning/Error).

message string

출력할 메시지.