Writes a message and data block into the log.
Namespace:
Rebex
Assembly:
Rebex.Common (in Rebex.Common.dll)
Syntax
Visual Basic |
---|
Public Overridable 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# |
---|
public virtual 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.