I have just recently joined a new company and one of the classes used to log information has not been written properly. So I have been asked to add new functionality to the logger.
Rather than amending the
Logger class I want to follow the O in SOLID and extend the class by creating a derived class and adding functionality that way. My issue however is, what do I name this derived logger class?
LoggerTwo just seem like poor class names.
The functionality I am trying to extend is adding statuses to the log. So I could call it
StatusLogger. But that doesn’t seem right either because the logger does more than log statuses. Any ideas?