class Google::Apis::LoggingV2::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 this log entry. Corresponds to the JSON property `severity` @return [String]
source_location[RW]
Specifies a location in a source code file. Corresponds to the JSON property `sourceLocation` @return [Google::Apis::LoggingV2::SourceLocation]
time[RW]
Approximate time when this log entry was made. Corresponds to the JSON property `time` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/logging_v2/classes.rb, line 1390 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/logging_v2/classes.rb, line 1395 def update!(**args) @log_message = args[:log_message] if args.key?(:log_message) @severity = args[:severity] if args.key?(:severity) @source_location = args[:source_location] if args.key?(:source_location) @time = args[:time] if args.key?(:time) end