NET Logging Library
LogMessage Method (BaseDatabaseTarget)



KellermanSoftware.NetLoggingLibrary.Targets Namespace > BaseDatabaseTarget Class : LogMessage Method
The message to log
Log a message to a database table
Syntax
Public Overrides Function LogMessage( _
   ByVal entry As LogEntry _
) As Boolean
Dim instance As BaseDatabaseTarget
Dim entry As LogEntry
Dim value As Boolean
 
value = instance.LogMessage(entry)
public override bool LogMessage( 
   LogEntry entry
)
public:
bool LogMessage( 
   LogEntry^ entry
) override 

Parameters

entry
The message to log

Return Value

True if the message was successfully written
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

BaseDatabaseTarget Class
BaseDatabaseTarget Members