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 SourceFormat(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.
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. |
Edit this page