Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SimpleLoggingAdvice Members

SimpleLoggingAdvice overview

Public Instance Constructors

SimpleLoggingAdvice Overloaded. Initializes a new instance of the SimpleLoggingAdvice class.

Public Instance Properties

HideProxyTypeNames (inherited from AbstractLoggingAdvice) Sets a value indicating whether hide proxy type names (whenever possible) when using dynamic loggers, i.e. property UseDynamicLogger is set to true.
LogExecutionTime Gets or sets a value indicating whether to log execution time.
LoggerName (inherited from AbstractLoggingAdvice) Sets the name of the logger to use.
LogLevel Gets or sets the entry log level.
LogMethodArguments Gets or sets a value indicating whether log method arguments.
LogReturnValue Gets or sets a value indicating whether log return value.
LogUniqueIdentifier Gets or sets a value indicating whether to log a unique identifier with the log message.
Separator Gets or sets the seperator string to use for delmiting log message fields.
UseDynamicLogger (inherited from AbstractLoggingAdvice) Sets a value indicating whether to use a dynamic logger or static logger

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
Invoke (inherited from AbstractLoggingAdvice) Adds logging to the method invocation.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Fields

defaultLogger (inherited from AbstractLoggingAdvice) The default
ILog
instance used to write logging messages.

Protected Instance Methods

AppendCommonInformation Appends common information across entry,exit, exception logging
CreateUniqueIdentifier Creates a unique identifier.
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
GetEntryMessage Gets the entry message to log
GetExceptionMessage Gets the exception message.
GetExitMessage Gets the exit log message.
GetLoggerForInvocation (inherited from AbstractLoggingAdvice) Gets the appropriate log instance to use for the given IMethodInvocation.
GetMethodArgumentAsString Gets the method argument as argumen name/value pairs.
InvokeUnderLog Subclasses must override this method to perform any tracing around the supplied IMethodInvocation.
IsInterceptorEnabled (inherited from AbstractLoggingAdvice) Determines whether the interceptor is enabled for the specified invocation, that is, whether the method InvokeUnderLog is called.
IsLogEnabled Determines whether the given log is enabled.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
OnDeserialization (inherited from AbstractLoggingAdvice) Override in case you need to initialized non-serialized fields on deserialization.
SetDefaultLogger (inherited from AbstractLoggingAdvice) Sets the default logger to the given name.

Explicit Interface Implementations

IDeserializationCallback.OnDeserialization (inherited from AbstractLoggingAdvice)Missing <summary> documentation for M:Spring.Aspects.Logging.AbstractLoggingAdvice.System#Runtime#Serialization#IDeserializationCallback#OnDeserialization(System.Object)

See Also

SimpleLoggingAdvice Class | Spring.Aspects.Logging Namespace