LogWriter.ShouldLog Method

Queries whether a LogEntry shold be logged.

Namespace: Microsoft.Practices.EnterpriseLibrary.Logging
Assembly: Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll)


Public MustOverride Function ShouldLog ( _
    log As LogEntry _
) As Boolean
public abstract bool ShouldLog(
    LogEntry log
virtual bool ShouldLog(
    LogEntry^ log
) abstract
public abstract function ShouldLog(
    log : LogEntry
) : boolean


Return Value

true if the entry should be logged.

See Also

LogWriter Class

Microsoft.Practices.EnterpriseLibrary.Logging Namespace