C# Class Patterns.Logging.LogValueFormatterBase

Provides a base class for log value formatters.
Inheritance: ILogValueFormatter
Show file Open project: patterns-group/code-patterns

Public Methods

Method Description
Format ( object value ) : string

Formats the specified value.

Protected Methods

Method Description
ConvertValueForDisplay ( object value ) : object

Converts the value for display.

Method Details

ConvertValueForDisplay() protected method

Converts the value for display.
protected ConvertValueForDisplay ( object value ) : object
value object The value.
return object

Format() public method

Formats the specified value.
public Format ( object value ) : string
value object The value.
return string