Table of Contents

Class MonitorRegistration.SentryMonitor

Namespace
Engine.Common
Assembly
Engine.Common.dll
public class MonitorRegistration.SentryMonitor : BaseMonitor, IMonitor
Inheritance
MonitorRegistration.SentryMonitor
Implements
Inherited Members

Constructors

SentryMonitor(ILog, MonitoringSettings)

public SentryMonitor(ILog log, MonitoringSettings settings)

Parameters

log ILog
settings MonitoringSettings

Methods

Flush()

public override void Flush()

FlushAsync()

public override Task FlushAsync()

Returns

Task

OnLogException(Exception)

protected override Uri? OnLogException(Exception exception)

Parameters

exception Exception

Returns

Uri

OnLogMessage(string, object[], LogLevel)

Override this method to implement custom logging behavior (e.g., sending to Sentry)

protected override Uri? OnLogMessage(string message, object[] args, BaseMonitor.LogLevel level)

Parameters

message string
args object[]
level BaseMonitor.LogLevel

Returns

Uri