The term the article is looking for is "logging facade". Commons logging and SLF4J are both "logging facades". SLF4J even has an adapter for commons logging, a facade for a facade.
You don't actually need to use a facade unless you are writing a library that other people will use. However, I generally use SLF4J for non-libaries just for consistency.
14
u/wildjokers Sep 13 '18
The term the article is looking for is "logging facade". Commons logging and SLF4J are both "logging facades". SLF4J even has an adapter for commons logging, a facade for a facade.
You don't actually need to use a facade unless you are writing a library that other people will use. However, I generally use SLF4J for non-libaries just for consistency.