fix BleLog to adapt multi-thread with mutex