NET Logging Library
LogObject<T> Method (ILog)



KellermanSoftware.NetLoggingLibrary Namespace > ILog Interface : LogObject<T> Method
Log an object to the targets
Syntax
Function LogObject(Of T As Class)( _
   ByVal level As LoggingLevel, _
   ByVal value As T _
) As LogResponse
Dim instance As ILog
Dim level As LoggingLevel
Dim value As T
Dim value As LogResponse
 
value = instance.LogObject(Of T)(level, value)
LogResponse LogObject<T>( 
   LoggingLevel level,
   T value
)
where T: class
LogResponse^ LogObjectgeneric<typename T>
( 
   LoggingLevel level,
   T^ value
) 
where T: ref class

Parameters

level
value

Type Parameters

T
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