perf(logger): use spinlock to copy inner pointer
perf(logger): use spinlock to copy inner pointer

Actual only for standard libraries with no support for atomic
shared pointer operations.

3Hren/blackhole,noxiouz/blackhole