require "slatan/version"
require "slatan/spirit"
require "slatan/heart"
require "slatan/mouth"
require "slatan/ear"
require "utils/string_ex"

module Slatan
  using StringEx
  Spirit.infuse

  @heart = Heart.new
  @mouth = Mouth.new @heart
  @ear   = Ear.new @mouth

  @heart.beat @ear
end

require "slatan/version"
require "slatan/spirit"
require "slatan/heart"
require "slatan/ear"
require "slatan/buttocks"
require "utils/string_ex"

module Slatan
  using StringEx
  Spirit.infuse
  Buttocks.init

  @heart = Heart.new
  @ear   = Ear.new

  begin
    @heart.beat @ear
  rescue => e
    Buttocks.fatal "#{e.backtrace.first}: #{e.message} (#{e.class})"
  end
end

Add logger of exception to Slatan
Add logger of exception to Slatan
