lib/google/cloud/logging/logger.rb in google-cloud-logging-0.24.0 vs lib/google/cloud/logging/logger.rb in google-cloud-logging-0.24.1
- old
+ new
@@ -12,11 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
require "logger"
-require "orderedhash"
module Google
module Cloud
module Logging
##
@@ -88,11 +87,11 @@
def progname= name
@log_name = name
end
##
- # A OrderedHash of Thread IDs to Stackdriver request trace ID. The
+ # A Hash of Thread IDs to Stackdriver request trace ID. The
# Stackdriver trace ID is a shared request identifier across all
# Stackdriver services.
#
# @deprecated Use request_info
#
@@ -140,10 +139,10 @@
@writer = writer
@log_name = log_name
@resource = resource
@labels = labels
@level = 0 # DEBUG is the default behavior
- @request_info = OrderedHash.new
+ @request_info = {}
@closed = false
# Unused, but present for API compatibility
@formatter = ::Logger::Formatter.new
@datetime_format = ""
end