github
0 of 18 new or added lines in 4 files covered. (0.0%)
3922 existing lines in 105 files now uncovered.0 of 4086 relevant lines covered (0.0%)
0.0 hits per line
1 |
# frozen_string_literal: true
|
|
2 |
|
|
UNCOV
3
|
module Loggable |
× |
4 |
|
|
UNCOV
5
|
private |
× |
6 |
|
|
UNCOV
7
|
def inform(msg) |
× |
UNCOV
8
|
log('INFO', msg)
|
× |
UNCOV
9
|
end
|
× |
10 |
|
|
UNCOV
11
|
def warn(msg) |
× |
UNCOV
12
|
log('WARN', msg)
|
× |
UNCOV
13
|
end
|
× |
14 |
|
|
UNCOV
15
|
def error(msg) |
× |
UNCOV
16
|
log('ERROR', msg)
|
× |
UNCOV
17
|
end
|
× |
18 |
|
|
UNCOV
19
|
def log(level, msg) |
× |
UNCOV
20
|
Rails.logger.add(Logger.const_get(level), "#{level} #{msg}") |
× |
UNCOV
21
|
end
|
× |
22 |
|
|
UNCOV
23
|
end
|
× |