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

Change-Id: I10420076f3e3c8e3d3563e056775fca8c16c3721