Added custome log implementation