Class ProjectLogsEvent.Context
-
- All Implemented Interfaces:
public final class ProjectLogsEvent.ContextContext is additional information about the code that produced the project logs event. It is essentially the textual counterpart to
metrics. Use thecaller_*attributes to track the location in code which produced the project logs event
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classProjectLogsEvent.Context.BuilderA builder for Context.
-
Method Summary
Modifier and Type Method Description final Optional<String>callerFilename()Name of the file in code where the project logs event was created final Optional<String>callerFunctionname()The function in code which created the project logs event final Optional<Long>callerLineno()Line of code where the project logs event was created final JsonField<String>_callerFilename()Returns the raw JSON value of callerFilename. final JsonField<String>_callerFunctionname()Returns the raw JSON value of callerFunctionname. final JsonField<Long>_callerLineno()Returns the raw JSON value of callerLineno. final Map<String, JsonValue>_additionalProperties()final ProjectLogsEvent.Context.BuildertoBuilder()final ProjectLogsEvent.Contextvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ProjectLogsEvent.Context.Builderbuilder()Returns a mutable builder for constructing an instance of Context. -
-
Method Detail
-
callerFilename
final Optional<String> callerFilename()
Name of the file in code where the project logs event was created
-
callerFunctionname
final Optional<String> callerFunctionname()
The function in code which created the project logs event
-
callerLineno
final Optional<Long> callerLineno()
Line of code where the project logs event was created
-
_callerFilename
final JsonField<String> _callerFilename()
Returns the raw JSON value of callerFilename.
Unlike callerFilename, this method doesn't throw if the JSON field has an unexpected type.
-
_callerFunctionname
final JsonField<String> _callerFunctionname()
Returns the raw JSON value of callerFunctionname.
Unlike callerFunctionname, this method doesn't throw if the JSON field has an unexpected type.
-
_callerLineno
final JsonField<Long> _callerLineno()
Returns the raw JSON value of callerLineno.
Unlike callerLineno, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ProjectLogsEvent.Context.Builder toBuilder()
-
validate
final ProjectLogsEvent.Context validate()
-
builder
final static ProjectLogsEvent.Context.Builder builder()
Returns a mutable builder for constructing an instance of Context.
-
-
-
-