NET Logging Library
LogCustom Method



KellermanSoftware.NetLoggingLibrary Namespace > ICustomLogger Interface : LogCustom Method
The Log Message to log
If greater than zero, the maximum entries to keep before discarding old log entries (log rolling).
Log to a custom destination
Syntax
Function LogCustom( _
   ByVal entry As LogEntry, _
   ByVal maxEntries As Integer _
) As Boolean
Dim instance As ICustomLogger
Dim entry As LogEntry
Dim maxEntries As Integer
Dim value As Boolean
 
value = instance.LogCustom(entry, maxEntries)
bool LogCustom( 
   LogEntry entry,
   int maxEntries
)
bool LogCustom( 
   LogEntry^ entry,
   int maxEntries
) 

Parameters

entry
The Log Message to log
maxEntries
If greater than zero, the maximum entries to keep before discarding old log entries (log rolling).

Return Value

True if successful
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

ICustomLogger Interface
ICustomLogger Members