Class LogConfig (1.5.0)

LogConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration of platform logs. See Using and managing platform logs <https://cloud.google.com/logging/docs/api/platform-logs#managing-logs>__ for more information about how to view platform logs through Cloud Logging.

Attribute

NameDescription
log_severity google.cloud.video.live_stream_v1.types.LogConfig.LogSeverity
The severity level of platform logging for this resource.

Classes

LogSeverity

LogSeverity(value)

The severity level of platform logging for this channel. Logs with a severity level higher than or equal to the chosen severity level will be logged and can be viewed through Cloud Logging. The severity level of a log is ranked as followed from low to high: DEBUG < INFO < NOTICE < WARNING < ERROR < CRITICAL < ALERT < EMERGENCY. See LogSeverity <https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry#logseverity>__ for more information.

Values: LOG_SEVERITY_UNSPECIFIED (0): Log severity is not specified. This is the same as log severity is OFF. OFF (1): Log is turned off. DEBUG (100): Log with severity higher than or equal to DEBUG are logged. INFO (200): Logs with severity higher than or equal to INFO are logged. WARNING (400): Logs with severity higher than or equal to WARNING are logged. ERROR (500): Logs with severity higher than or equal to ERROR are logged.