LoggerExtensionsLogDataPage(ILogger, LogLevel, Byte, String) Method
Logs a data page.
Namespace: SmallEarthTech.AntPlus.Extensions.LoggingAssembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 6.0.1+2b48744145fe7ef0b0e6d89d46e9cc83d8627463
public static void LogDataPage(
this ILogger logger,
LogLevel level,
byte[] dataPage,
string methodName = ""
)
<ExtensionAttribute>
Public Shared Sub LogDataPage (
logger As ILogger,
level As LogLevel,
dataPage As Byte(),
Optional methodName As String = ""
)
public:
[ExtensionAttribute]
static void LogDataPage(
ILogger^ logger,
LogLevel level,
array<unsigned char>^ dataPage,
String^ methodName = L""
)
[<ExtensionAttribute>]
static member LogDataPage :
logger : ILogger *
level : LogLevel *
dataPage : byte[] *
?methodName : string
(* Defaults:
let _methodName = defaultArg methodName ""
*)
-> unit
- logger ILogger
- The logger instance.
- level LogLevel
- Log level.
- dataPage Byte
- The data page as a byte array.
- methodName String (Optional)
- The caller member name.
In Visual Basic and C#, you can call this method as an instance method on any object of type
ILogger. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).