add LogCallback