Add logger interface to forward log message to upper layers