NET Logging Library
LogMessage Method (BaseTarget)



KellermanSoftware.NetLoggingLibrary.Targets Namespace > BaseTarget Class : LogMessage Method
The message to log
Log a message to the target
Syntax
Public MustOverride Function LogMessage( _
   ByVal entry As LogEntry _
) As Boolean
Dim instance As BaseTarget
Dim entry As LogEntry
Dim value As Boolean
 
value = instance.LogMessage(entry)
public abstract bool LogMessage( 
   LogEntry entry
)
public:
abstract bool LogMessage( 
   LogEntry^ entry
) 

Parameters

entry
The message to log

Return Value

True when the message logs successfully
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

BaseTarget Class
BaseTarget Members