logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class WriteLogEntry

    Use case for writing a log entry.

    Inheritance
    object
    WriteLogEntry
    Implements
    ISyncUseCase<WriteLogEntryInput>
    IUseCase
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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.

    Implements

    ISyncUseCase<TInput>
    IUseCase
    In this article
    © 2026 Serenity. All Rights Reserved