Interface ILogMessageFormatter
This interface describes the methods used to format log messages.
Namespace: Akka.Event
Assembly: Akka.dll
Syntax
public interface ILogMessageFormatter
Methods
| Improve this Doc 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, 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. |