log: split logic code to isNeedLog() and isNeedTraceMore()

Change-Id: Ib1f49bb65f252271376a8509c4fafa144ad1ca0c
log: reverse log levels value

Change-Id: I35094d847779ff09cf7f5ea90844fc42086aff1d