ConsoleLogWriter.Write Method
Namespace: Rebex
Assembly: Rebex.Common.dll (version 7.0.9048)
Write(LogLevel, Type, Int32, String, String)
Writes a message into the log.
Declaration
public override void Write(LogLevel level, Type objectType, int objectId, string area, string message)
Parameters
Type | Name | Description |
---|---|---|
LogLevel | level | Message level. |
Type | objectType | Logging object type. |
Int32 | objectId | Logging object ID. |
String | area | Logging area. |
String | message | Message. |
Overrides
Write(LogLevel, Type, Int32, String, String, Byte[], Int32, Int32)
Writes a message and data block into the log.
Declaration
public override void Write(LogLevel level, Type objectType, int objectId, string area, string message, byte[] buffer, int offset, int length)
Parameters
Type | Name | Description |
---|---|---|
LogLevel | level | Message level. |
Type | objectType | Logging object type. |
Int32 | objectId | Logging object ID. |
String | area | Logging area. |
String | message | Message. |
Byte[] | buffer | Data block. |
Int32 | offset | Data offset. |
Int32 | length | Date length. |