start trying to make log as a singleton class