The time complexity of binary search is :