Hi,

I want to have a global unique Logger object.

Is there any other way than having an inherited class with the singleton =
mixin ?

require 'logger'
require 'singleton'

module Utils
  class ApplicationLogger < Logger
    include Singleton
   =20
    def initialize
     =20
      super(STDOUT)
     =20
    end
   =20
  end
end=