minato_logger 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/minato_logger/logger.rb +3 -0
- data/lib/minato_logger/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5688da71cd66c7e29dc5c28004e95ce48e549893d12bf83bce494638c8207479
|
4
|
+
data.tar.gz: 752d40d916f5b87b43b9d6dd344e088b57adb5451dadc272bdd787e05e691821
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46492ebcc67410a9beb5307220dd7c0eca791cc7a42172ab2e890c02b1efd04f2e303b323276baf89a7b7d7cf95a3000185cc223b761fc95830da19e6ce63c85
|
7
|
+
data.tar.gz: 665bc0520682ad87196148f965644a5c197f22d74298ece7b6c89dfbfc3ed2e8d30894294120c9603f74ec4f74be0d5efb95f2bfcfed1d2313fd493ffba6ff2d
|
data/lib/minato_logger/logger.rb
CHANGED
@@ -1,11 +1,14 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require "active_support/logger"
|
4
|
+
require "active_support/tagged_logging"
|
4
5
|
|
5
6
|
require_relative "formatters/fluent_bit"
|
6
7
|
|
7
8
|
module MinatoLogger
|
8
9
|
class Logger < ActiveSupport::Logger
|
10
|
+
include ActiveSupport::TaggedLogging
|
11
|
+
|
9
12
|
def initialize
|
10
13
|
super($stdout)
|
11
14
|
@formatter = Formatters::FluentBit.new
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minato_logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ferreri
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-11-
|
11
|
+
date: 2023-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|