SpanLog¶
- class oci.apm_traces.models.SpanLog(**kwargs)¶
Bases:
objectDefinition of a log which is a key-value pair of log data.
Methods:
__init__(**kwargs)Initializes a new SpanLog object with values from keyword arguments.
Attributes:
[Required] Gets the log_key of this SpanLog.
[Required] Gets the log_value of this SpanLog.
- __init__(**kwargs)¶
Initializes a new SpanLog object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
log_key (str) – The value to assign to the log_key property of this SpanLog.
log_value (str) – The value to assign to the log_value property of this SpanLog.
- property log_key¶
[Required] Gets the log_key of this SpanLog. Key that specifies the log name.
- Returns
The log_key of this SpanLog.
- Return type
str
- property log_value¶
[Required] Gets the log_value of this SpanLog. Value associated with the log key.
- Returns
The log_value of this SpanLog.
- Return type
str