TokenFunction.Format Method

Searches for token functions in the message and replace all with formatted values.

Namespace: Microsoft.Practices.EnterpriseLibrary.Logging.Formatters
Assembly: Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll) Version: 6.0.0.0 (6.0.1304.0)

Syntax

public virtual void Format(
    StringBuilder messageBuilder,
    LogEntry log
)
'Declaration
Public Overridable Sub Format ( 
    messageBuilder As StringBuilder,
    log As LogEntry
)
public:
virtual void Format(
    StringBuilder^ messageBuilder, 
    LogEntry^ log
)

Parameters

See Also

TokenFunction Class

TokenFunction Members

Microsoft.Practices.EnterpriseLibrary.Logging.Formatters Namespace