Class DiagnosticsService
- Namespace
- Framework.Systems.Diagnostics
- Assembly
- Assembly-CSharp.dll
IDiagnosticsService 구현체. Diagnostics 기능의 단일 진입점.
public sealed class DiagnosticsService : IDiagnosticsService
- Inheritance
-
objectDiagnosticsService
- Implements
Remarks
RootScope 에서 Singleton 으로 등록된다. Diagnostics static 클래스의 Service 프로퍼티를 통해 하위 호환 접근도 가능.
Properties
IsEnabled
Diagnostics 시스템 활성 여부.
public bool IsEnabled { get; }
Property Value
- bool
Methods
GetSnapshot()
현재 시점의 진단 스냅샷 반환.
public DiagnosticsSnapshot GetSnapshot()
Returns
RegisterWatcher(IDiagnosticsWatcher)
사용자 정의 Watcher 등록. Overlay Custom 섹션에 자동 표시.
public void RegisterWatcher(IDiagnosticsWatcher watcher)
Parameters
watcherIDiagnosticsWatcher등록할 Watcher 인스턴스.
ToggleOverlay()
DiagnosticsOverlay 표시/숨김 토글.
public void ToggleOverlay()