Class WriteLogEntry
Use case for writing a log entry.
Inherited Members
Namespace: Serenity.Logging.Application.UseCases
Assembly: Serenity.Global.Application.dll
Syntax
public class WriteLogEntry : ISyncUseCase<WriteLogEntryInput>, IUseCase
Constructors
WriteLogEntry(ILogService)
Initializes a new instance of the WriteLogEntry class.
Declaration
public WriteLogEntry(ILogService service)
Parameters
| Type | Name | Description |
|---|---|---|
| ILogService | service | The logging service to use. |
Methods
Execute(WriteLogEntryInput)
Executes the log writing operation.
Declaration
public void Execute(WriteLogEntryInput input)
Parameters
| Type | Name | Description |
|---|---|---|
| WriteLogEntryInput | input | The request containing log entry details. |