Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractLoggingAdvice.UseDynamicLogger Property

Sets a value indicating whether to use a dynamic logger or static logger

[Visual Basic]
Public WriteOnly Property UseDynamicLogger() As Boolean
   Public Set
   End Set
End Property
[C#]
public bool UseDynamicLogger { public set; }

Property Value

true if use dynamic logger; otherwise, false.

Remarks

Default is to use a static logger.

Used to determine which ILog instance should be used to write log messages for a particular method invocation: a dynamic one for the Type getting called, or a static one for the Type of the trace interceptor.

Specify either this property or LoggerName, not both.

See Also

AbstractLoggingAdvice Class | Spring.Aspects.Logging Namespace