Write a message and data block into the log.
Namespace:
Rebex
Assembly:
Rebex.Common (in Rebex.Common.dll)
Syntax
Visual Basic |
---|
Sub Write ( _ level As LogLevel, _ objectType As Type, _ objectId As Integer, _ area As String, _ message As String, _ buffer As Byte(), _ offset As Integer, _ length As Integer _ ) |
C# |
---|
void Write( LogLevel level, Type objectType, int objectId, string area, string message, byte[] buffer, int offset, int length ) |
Parameters
- level
- Type: Rebex..::..LogLevel
Message level.
- objectType
- Type: System..::..Type
Logging object type.
- objectId
- Type: System..::..Int32
Logging object ID.
- area
- Type: System..::..String
Logging area.
- message
- Type: System..::..String
Message.
- buffer
- Type: array<System..::..Byte>[]()[][]
Data block.
- offset
- Type: System..::..Int32
Data offset.
- length
- Type: System..::..Int32
Date length.