add lager(log) support.