Mid
From PDF
GoF Patterns
Gang of Four Patterns
Logging Frameworks:?
Short answer: As mentioned, logging systems often use the Factory Method to allow different log outputs. For example, a logging framework can provide loggers that write to the console, files, databases, or cloud services, with the user choosing the appropriate logger type via a factory.
Say this in the interview
- Define — one clear sentence (the short answer above).
- Example — relate it to a project like ShopNest or your real work.
- Trade-off — when you would not use it.
Share this Q&A
Share preview image: https://www.toolliyo.com/images/toolliyo-logo.png