add convienience methods for log4j loggers

Can you add return types please. I find for a library it's good to have them. They add clarity and ensure that you actually return things at the correct type level that you want instead of higher or lower.