Logger: move disabled check to be last check performed, because it uses TLS (Thread Local Storage) which can be expensive to access.
Logger: move disabled check to be last check performed, because it uses TLS (Thread Local Storage) which can
be expensive to access.

inilabs/libcaer,inilabs/libcaer,inilabs/libcaer,inilabs/libcaer