Makes SRLogger thread safe