Added a get logsForEntity method on Logger