class Google::Apis::LoggingV1beta3::LogLine

Application log line emitted while processing a request.

Attributes

log_message[RW]

App provided log message. Corresponds to the JSON property `logMessage` @return [String]

severity[RW]

Severity of log. Corresponds to the JSON property `severity` @return [String]

source_location[RW]

Specifies a location in a source file. Corresponds to the JSON property `sourceLocation` @return [Google::Apis::LoggingV1beta3::SourceLocation]

time[RW]

Time when log entry was made. May be inaccurate. Corresponds to the JSON property `time` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/logging_v1beta3/classes.rb, line 1001
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/logging_v1beta3/classes.rb, line 1006
def update!(**args)
  @time = args[:time] unless args[:time].nil?
  @severity = args[:severity] unless args[:severity].nil?
  @log_message = args[:log_message] unless args[:log_message].nil?
  @source_location = args[:source_location] unless args[:source_location].nil?
end