Class LogRecord
public sealed class LogRecord : Google.Protobuf.IMessage<LogRecord>, Google.Protobuf.IBufferMessage
- Inheritance
-
LogRecord
- Implements
-
IBufferMessage
- Extension Methods
Constructors
LogRecord()
public LogRecord()
LogRecord(LogRecord)
public LogRecord(LogRecord other)
Parameters
otherLogRecord
Fields
FileFieldNumber
Field number for the "file" field.
public const int FileFieldNumber = 4
Field Value
LevelFieldNumber
Field number for the "level" field.
public const int LevelFieldNumber = 1
Field Value
LineFieldNumber
Field number for the "line" field.
public const int LineFieldNumber = 5
Field Value
MessageFieldNumber
Field number for the "message" field.
public const int MessageFieldNumber = 6
Field Value
ModulePathFieldNumber
Field number for the "module_path" field.
public const int ModulePathFieldNumber = 3
Field Value
TargetFieldNumber
Field number for the "target" field.
public const int TargetFieldNumber = 2
Field Value
Properties
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
File
public string File { get; set; }
Property Value
HasFile
Gets whether the "file" field is set
public bool HasFile { get; }
Property Value
HasLevel
Gets whether the "level" field is set
public bool HasLevel { get; }
Property Value
HasLine
Gets whether the "line" field is set
public bool HasLine { get; }
Property Value
HasMessage
Gets whether the "message" field is set
public bool HasMessage { get; }
Property Value
HasModulePath
Gets whether the "module_path" field is set
public bool HasModulePath { get; }
Property Value
HasTarget
Gets whether the "target" field is set
public bool HasTarget { get; }
Property Value
Level
public LogLevel Level { get; set; }
Property Value
Line
public uint Line { get; set; }
Property Value
Message
public string Message { get; set; }
Property Value
ModulePath
public string ModulePath { get; set; }
Property Value
Parser
public static Google.Protobuf.MessageParser<LogRecord> Parser { get; }
Property Value
- MessageParser<LogRecord>
Target
e.g "livekit", "libwebrtc", "tokio-tungstenite", etc...
public string Target { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearFile()
Clears the value of the "file" field
public void ClearFile()
ClearLevel()
Clears the value of the "level" field
public void ClearLevel()
ClearLine()
Clears the value of the "line" field
public void ClearLine()
ClearMessage()
Clears the value of the "message" field
public void ClearMessage()
ClearModulePath()
Clears the value of the "module_path" field
public void ClearModulePath()
ClearTarget()
Clears the value of the "target" field
public void ClearTarget()
Clone()
public LogRecord Clone()
Returns
Equals(LogRecord)
public bool Equals(LogRecord other)
Parameters
otherLogRecord
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
inputCodedInputStream
MergeFrom(LogRecord)
public void MergeFrom(LogRecord other)
Parameters
otherLogRecord
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream