|
@ -36,7 +36,11 @@ module Semantic |
|
|
self.logger = logger |
|
|
self.logger = logger |
|
|
self.color = color_map[log.level] |
|
|
self.color = color_map[log.level] |
|
|
|
|
|
|
|
|
wrap_level(compute_useful_length, message, payload, exception) |
|
|
|
|
|
|
|
|
computed_exception = exception |
|
|
|
|
|
result = wrap_level(compute_useful_length, message, payload, computed_exception) |
|
|
|
|
|
return result unless computed_exception |
|
|
|
|
|
|
|
|
|
|
|
result << "\n" << build_terminus |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|
def reject(log) |
|
|
def reject(log) |
|
|