Full constructor.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public DevLogEntry(
string source,
string id,
string msg,
LogMessageLevel level,
LogCategory category
)
Public Sub New (
source As String,
id As String,
msg As String,
level As LogMessageLevel,
category As LogCategory
)
Parameters
- source
- Type: SystemString
The source of the log message. Typically, this is the method name. - id
- Type: SystemString
The ID of the log. Log messages should generally have the class or component as a prefix.
For example: For the database class, IDs look like this:
db.connectFailNoConnectStr
db.openCalledWithInvalidArgs
- msg
- Type: SystemString
The message to log. - level
- Type: NetQuarryLogMessageLevel
The level or severity of the message. Must be one of the values from LogMessageLevel. - category
- Type: NetQuarryLogCategory
One or more of the LogCategory values
See Also