Search Results for

    Show / Hide Table of Contents

    Class DefaultLogMessageFormatter

    This class represents an ILoggingAdapter implementation that uses Format(string, params object[]) to format log messages.

    Inheritance
    object
    DefaultLogMessageFormatter
    Implements
    ILogMessageFormatter
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Event
    Assembly: Akka.dll
    Syntax
    public class DefaultLogMessageFormatter : ILogMessageFormatter

    Fields

    | Edit this page View Source

    Instance

    Declaration
    public static readonly DefaultLogMessageFormatter Instance
    Field Value
    Type Description
    DefaultLogMessageFormatter

    Methods

    | Edit this page View Source

    Format(string, IEnumerable<object>)

    Formats a string without explicit array allocation.

    Declaration
    public 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
    public 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.

    Implements

    ILogMessageFormatter

    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