RTALogger 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/RTALogger/version.rb +1 -1
- data/lib/log_manager.rb +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbb273e7ee1ae08716218cd1338f233c0b5af1d652934cae575b319f7a4f5c66
|
4
|
+
data.tar.gz: 010d8cc58971fa3252875c245d6b4deea9e5183ef122f17b6e403621e223f17c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c91009d62b8810a5f2930c43e16a132673fa31487bd81c8843a4072244ea893f52d542364587fc94c9c3cf6de49e90351b72d9074491e740a395466400e4a722
|
7
|
+
data.tar.gz: 0bd9f95d1a89cd1d0341f18f90e42e8fb0f1cffe11637d2f558e29a14a371e0380f18111ce2be208b7e8854ce9df1e2fb1d3e6da0b34ea5476090a9fdd97833a
|
data/Gemfile.lock
CHANGED
data/lib/RTALogger/version.rb
CHANGED
data/lib/log_manager.rb
CHANGED
@@ -36,8 +36,8 @@ module RTALogger
|
|
36
36
|
@flush_scheduler.run
|
37
37
|
end
|
38
38
|
|
39
|
-
def config_use_json_file(config_file_name)
|
40
|
-
config_json = load_config_from_json_file(config_file_name)
|
39
|
+
def config_use_json_file(config_file_name, manager_name = '')
|
40
|
+
config_json = load_config_from_json_file(config_file_name, manager_name)
|
41
41
|
apply_config(config_json)
|
42
42
|
rescue StandardError => e
|
43
43
|
puts e.message
|
@@ -45,8 +45,8 @@ module RTALogger
|
|
45
45
|
@propagator.add_log_repository(LogFactory.new_log_repository_console)
|
46
46
|
end
|
47
47
|
|
48
|
-
def config_use_json_string(config_string)
|
49
|
-
config_json = load_config_from_json_string(
|
48
|
+
def config_use_json_string(config_string, manager_name = '')
|
49
|
+
config_json = load_config_from_json_string(config_string, manager_name)
|
50
50
|
apply_config(config_json)
|
51
51
|
rescue StandardError => e
|
52
52
|
puts e.message
|