Sha256: 5207f85c573ea8b86c2d3246773ff37c6d8eb252154c08b5edbdb4198f66c123
Contents?: true
Size: 309 Bytes
Versions: 9
Compression:
Stored size: 309 Bytes
Contents
module Pubsubstub module Logging def error Pubsubstub.logger.error { "[#{self.class.name}] #{yield}" } end def info Pubsubstub.logger.info { "[#{self.class.name}] #{yield}" } end def debug Pubsubstub.logger.debug { "[#{self.class.name}] #{yield}" } end end end
Version data entries
9 entries across 9 versions & 1 rubygems