Class: Kilden::Log Private
- Inherits:
-
Object
- Object
- Kilden::Log
- Defined in:
- lib/kilden/log.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Minimal leveled logger writing to $stderr. The stdlib logger is leaving the default gems (Ruby 4), and this SDK ships zero dependencies — so the default is this. Anything responding to debug/info/warn/error can replace it through the client's logger: option.
Constant Summary collapse
- LEVELS =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
{ debug: 0, info: 1, warn: 2, error: 3 }.freeze
Instance Method Summary collapse
-
#initialize(level) ⇒ Log
constructor
private
A new instance of Log.