C# Class Aspects.Logging.Helpers.MessageFormatter

The an utility class used to formate the output message.
Datei anzeigen Open project: vnvizitiu/AOP

Public Methods

Method Description
FormatMessage ( string output, MethodExecutionArgs args, string action, LoggingInfo info ) : string

Formats the output message.

Private Methods

Method Description
FormatArguments ( object>.IDictionary arguments ) : string

Formats the arguments.

FormatObject ( object argument ) : string

Formats the object.

GetArguments ( MethodExecutionArgs args ) : object>.IDictionary

Gets the arguments.

Method Details

FormatMessage() public static method

Formats the output message.
args or info Value for "action" cannot be null or whitespace.
public static FormatMessage ( string output, MethodExecutionArgs args, string action, LoggingInfo info ) : string
output string The output pattern.
args MethodExecutionArgs The method execution arguments.
action string The logging action.
info LoggingInfo The logging options.
return string