Skip to content

Commit

Permalink
Ensure correct logger name is used (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
wsargent authored and ignasi35 committed Apr 1, 2019
1 parent 5b84c97 commit 8fdb495
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class AhcLoggerFactory(lf: ILoggerFactory = SLF4JLoggerFactory.getILoggerFactory

private[ahc] def createLogger(name: String) = {
new NoDepsLogger {
private[ahc] val logger = lf.getLogger(this.getClass.getName)
private[ahc] val logger = lf.getLogger(name)

def warn(msg: String): Unit = logger.warn(msg)
def isDebugEnabled: Boolean = logger.isDebugEnabled
Expand Down

0 comments on commit 8fdb495

Please sign in to comment.