Table of Contents

Class LogRecord

Namespace
LiveKit.Proto
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

other LogRecord

Fields

FileFieldNumber

Field number for the "file" field.

public const int FileFieldNumber = 4

Field Value

int

LevelFieldNumber

Field number for the "level" field.

public const int LevelFieldNumber = 1

Field Value

int

LineFieldNumber

Field number for the "line" field.

public const int LineFieldNumber = 5

Field Value

int

MessageFieldNumber

Field number for the "message" field.

public const int MessageFieldNumber = 6

Field Value

int

ModulePathFieldNumber

Field number for the "module_path" field.

public const int ModulePathFieldNumber = 3

Field Value

int

TargetFieldNumber

Field number for the "target" field.

public const int TargetFieldNumber = 2

Field Value

int

Properties

Descriptor

public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

File

public string File { get; set; }

Property Value

string

HasFile

Gets whether the "file" field is set

public bool HasFile { get; }

Property Value

bool

HasLevel

Gets whether the "level" field is set

public bool HasLevel { get; }

Property Value

bool

HasLine

Gets whether the "line" field is set

public bool HasLine { get; }

Property Value

bool

HasMessage

Gets whether the "message" field is set

public bool HasMessage { get; }

Property Value

bool

HasModulePath

Gets whether the "module_path" field is set

public bool HasModulePath { get; }

Property Value

bool

HasTarget

Gets whether the "target" field is set

public bool HasTarget { get; }

Property Value

bool

Level

public LogLevel Level { get; set; }

Property Value

LogLevel

Line

public uint Line { get; set; }

Property Value

uint

Message

public string Message { get; set; }

Property Value

string

ModulePath

public string ModulePath { get; set; }

Property Value

string

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

string

Methods

CalculateSize()

public int CalculateSize()

Returns

int

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

LogRecord

Equals(LogRecord)

public bool Equals(LogRecord other)

Parameters

other LogRecord

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(CodedInputStream)

public void MergeFrom(Google.Protobuf.CodedInputStream input)

Parameters

input CodedInputStream

MergeFrom(LogRecord)

public void MergeFrom(LogRecord other)

Parameters

other LogRecord

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream