Table of Contents

Class ActionLoggerService

Namespace
Uncreated.Warfare.Events.Logging
Assembly
Uncreated.Warfare.dll
public sealed class ActionLoggerService : IEventListener<IActionLoggableEvent>, IDisposable
Inheritance
ActionLoggerService
Implements
Inherited Members

Constructors

ActionLoggerService(WarfareModule)

public ActionLoggerService(WarfareModule module)

Parameters

module WarfareModule

Methods

AddAction(in ActionLogEntry)

public void AddAction(in ActionLogEntry entry)

Parameters

entry ActionLogEntry

DescribeInput(InputInfo)

public static string DescribeInput(InputInfo info)

Parameters

info InputInfo

Returns

string

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

GetLogFileMetadata(string)

Gets the meta for a specified log file.

public ActionLogMeta? GetLogFileMetadata(string logFile)

Parameters

logFile string

Returns

ActionLogMeta

HandleEvent(IActionLoggableEvent, IServiceProvider)

public void HandleEvent(IActionLoggableEvent e, IServiceProvider serviceProvider)

Parameters

e IActionLoggableEvent
serviceProvider IServiceProvider