Merge "liblog: check loggability before formatting" am: 929c9e8b40 am: 82b6e55054 am: 20a73a8424

Change-Id: I63fcf1967c78e7d6b6f8d0f8bb83115e0f2cf1ce