Log can be called from different threads. Is it thread safe?