NET Logging Library
LogAttachment(LoggingLevel,String,String) Method



KellermanSoftware.NetLoggingLibrary Namespace > ILog Interface > LogAttachment Method : LogAttachment(LoggingLevel,String,String) Method
The logging level
The message to log with the attachment
A file to log inside the binary target
Log an attachment to the BinaryFileTarget. If no binary target is attached, nothing will be logged
Syntax
Overloads Function LogAttachment( _
   ByVal level As LoggingLevel, _
   ByVal message As String, _
   ByVal filePath As String _
) As LogResponse
Dim instance As ILog
Dim level As LoggingLevel
Dim message As String
Dim filePath As String
Dim value As LogResponse
 
value = instance.LogAttachment(level, message, filePath)
LogResponse LogAttachment( 
   LoggingLevel level,
   string message,
   string filePath
)
LogResponse^ LogAttachment( 
   LoggingLevel level,
   String^ message,
   String^ filePath
) 

Parameters

level
The logging level
message
The message to log with the attachment
filePath
A file to log inside the binary target
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

ILog Interface
ILog Members
Overload List