Make public log method