Add private constructor to LoggerContext

The class should be only instantiated with the getInstance() method.