test log method