Use deprecated function's module logger instead of traits logger.

xref: #59