Class: Google::Cloud::Video::LiveStream::V1::LogConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/video/livestream/v1/resources.rb

Overview

Configuration of platform logs. See Using and managing platform logs for more information about how to view platform logs through Cloud Logging.

Defined Under Namespace

Modules: LogSeverity

Instance Attribute Summary collapse

Instance Attribute Details

#log_severity::Google::Cloud::Video::LiveStream::V1::LogConfig::LogSeverity

Returns The severity level of platform logging for this resource.

Returns:



343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 343

class LogConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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.
  module LogSeverity
    # Log severity is not specified. This is the same as log severity is OFF.
    LOG_SEVERITY_UNSPECIFIED = 0

    # Log is turned off.
    OFF = 1

    # Log with severity higher than or equal to DEBUG are logged.
    DEBUG = 100

    # Logs with severity higher than or equal to INFO are logged.
    INFO = 200

    # Logs with severity higher than or equal to WARNING are logged.
    WARNING = 400

    # Logs with severity higher than or equal to ERROR are logged.
    ERROR = 500
  end
end