Sha256: e58a502856133d86cc3d7120b259b256aedf84db51b2b09db196832a460e3b8d
Contents?: true
Size: 444 Bytes
Versions: 6
Compression:
Stored size: 444 Bytes
Contents
module Nexaas module Auditor module StatisticsTrackers class Log < Base def initialize(logger, namespace=nil) @logger = logger || Nexaas::Auditor.configuration.logger @namespace = namespace.to_s end private def send_track(type, full_name, value) @logger.info("[#{self.class}] type=#{type} metric=#{full_name} value=#{value}") end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems