ApplicationLoggingConfig¶
-
class
oci.functions.models.ApplicationLoggingConfig(**kwargs)¶ Bases:
objectSet logging configuration for an application. This is only used if Service Logs for the application are enabled in the OCI Logging service.
Attributes
LINE_FORMAT_JSONA constant which can be used with the line_format property of a ApplicationLoggingConfig. LINE_FORMAT_PLAIN_TEXTA constant which can be used with the line_format property of a ApplicationLoggingConfig. line_formatGets the line_format of this ApplicationLoggingConfig. Methods
__init__(**kwargs)Initializes a new ApplicationLoggingConfig object with values from keyword arguments. -
LINE_FORMAT_JSON= 'JSON'¶ A constant which can be used with the line_format property of a ApplicationLoggingConfig. This constant has a value of “JSON”
-
LINE_FORMAT_PLAIN_TEXT= 'PLAIN_TEXT'¶ A constant which can be used with the line_format property of a ApplicationLoggingConfig. This constant has a value of “PLAIN_TEXT”
-
__init__(**kwargs)¶ Initializes a new ApplicationLoggingConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: line_format (str) – The value to assign to the line_format property of this ApplicationLoggingConfig. Allowed values for this property are: “JSON”, “PLAIN_TEXT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
line_format¶ Gets the line_format of this ApplicationLoggingConfig. Specify the format of log lines emitted by functions in this application.
Allowed values for this property are: “JSON”, “PLAIN_TEXT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The line_format of this ApplicationLoggingConfig. Return type: str
-