Search Results for

    Show / Hide Table of Contents

    Interface ILogMessageFormatter

    This interface describes the methods used to format log messages.

    Namespace: Akka.Event
    Assembly: Akka.dll
    Syntax
    public interface ILogMessageFormatter

    Methods

    | Edit this page View Source

    Format(string, IEnumerable<object>)

    Formats a string without explicit array allocation.

    Declaration
    string Format(string format, IEnumerable<object> args)
    Parameters
    Type Name Description
    string format

    The string that is being formatted.

    IEnumerable<object> args

    An optional list of items used to format the string.

    Returns
    Type Description
    string

    The given string that has been correctly formatted.

    Remarks

    Delays array allocation until formatting time.

    | Edit this page View Source

    Format(string, params object[])

    Formats a specified composite string using an optional list of item substitutions.

    Declaration
    string Format(string format, params object[] args)
    Parameters
    Type Name Description
    string format

    The string that is being formatted.

    object[] args

    An optional list of items used to format the string.

    Returns
    Type Description
    string

    The given string that has been correctly formatted.

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET