We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eab346d commit e3ea1d9Copy full SHA for e3ea1d9
spec/logger_spec.rb
@@ -38,4 +38,9 @@
38
it 'should be able to log unknown' do
39
expect { Telemetry::Logger.unknown('testing') }.to output(/ANY/).to_stdout_from_any_process
40
end
41
+
42
+ it 'should be able to setup and set the level' do
43
+ expect(Telemetry::Logger.setup(level: 'warn').level).to eq 2
44
+ expect(Telemetry::Logger.setup(level: 'error').level).to eq 3
45
+ end
46
0 commit comments