Class LogEvent
LogEvent
Inheritance
System.Object
LogEvent
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class LogEvent : IEquatable<LogEvent>
Constructors
LogEvent()
Initializes a new instance of the LogEvent class.
Declaration
public LogEvent()
Properties
Message
A description of the event that occurred.
Declaration
public string Message { get; }
Property Value
Type | Description |
---|---|
System.String | A description of the event that occurred. |
RunID
the ID of the task that logged
Declaration
public string RunID { get; }
Property Value
Type | Description |
---|---|
System.String | the ID of the task that logged |
Time
Time event occurred, RFC3339Nano.
Declaration
public DateTime? Time { get; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTime> | Time event occurred, RFC3339Nano. |
Methods
Equals(LogEvent)
Returns true if LogEvent instances are equal
Declaration
public bool Equals(LogEvent input)
Parameters
Type | Name | Description |
---|---|---|
LogEvent | input | Instance of LogEvent to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object input)
Parameters
Type | Name | Description |
---|---|---|
System.Object | input | Object to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
ToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |