LogEntry

Namespace: Babel.Licensing.Service.Management Assembly: Babel.Licensing.dll

public sealed class LogEntry : IMessage<LogEntry>, IEquatable<LogEntry>, IDeepCloneable<LogEntry>, IBufferMessage, IMessage

Inheritance

objectLogEntry

Implements

IMessage<LogEntry>, IEquatable<LogEntry>, IDeepCloneable<LogEntry>, IBufferMessage, IMessage

Inherited Members

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

LogEntry()

public LogEntry()

LogEntry(LogEntry)

public LogEntry(LogEntry other)

Parameters

NameDescription

other LogEntry

Fields

ExceptionFieldNumber

Field number for the "exception" field.

public const int ExceptionFieldNumber = 6

Field Value

int

IdFieldNumber

Field number for the "id" field.

public const int IdFieldNumber = 1

Field Value

int

LevelFieldNumber

Field number for the "level" field.

public const int LevelFieldNumber = 4

Field Value

int

MessageFieldNumber

Field number for the "message" field.

public const int MessageFieldNumber = 2

Field Value

int

MessageTemplateFieldNumber

Field number for the "message_template" field.

public const int MessageTemplateFieldNumber = 3

Field Value

int

PropertiesFieldNumber

Field number for the "properties" field.

public const int PropertiesFieldNumber = 7

Field Value

int

TimeStampFieldNumber

Field number for the "time_stamp" field.

public const int TimeStampFieldNumber = 5

Field Value

int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Exception

public string Exception { get; set; }

Property Value

string

Id

public int? Id { get; set; }

Property Value

int?

Level

public string Level { get; set; }

Property Value

string

Message

public string Message { get; set; }

Property Value

string

MessageTemplate

public string MessageTemplate { get; set; }

Property Value

string

Parser

public static MessageParser<LogEntry> Parser { get; }

Property Value

MessageParser<LogEntry>

Properties

public string Properties { get; set; }

Property Value

string

TimeStamp

public Timestamp TimeStamp { get; set; }

Property Value

Timestamp

Methods

CalculateSize()

public int CalculateSize()

Returns

NameDescription

Clone()

public LogEntry Clone()

Returns

NameDescription

Equals(object)

public override bool Equals(object other)

Parameters

NameDescription

other object

Returns

NameDescription

Equals(LogEntry)

public bool Equals(LogEntry other)

Parameters

NameDescription

other LogEntry

Returns

NameDescription

GetHashCode()

public override int GetHashCode()

Returns

NameDescription

MergeFrom(LogEntry)

public void MergeFrom(LogEntry other)

Parameters

NameDescription

other LogEntry

MergeFrom(CodedInputStream)

public void MergeFrom(CodedInputStream input)

Parameters

NameDescription

input CodedInputStream

ToString()

public override string ToString()

Returns

NameDescription

WriteTo(CodedOutputStream)

public void WriteTo(CodedOutputStream output)

Parameters

NameDescription

output CodedOutputStream

Last updated