6 thread_local LogTrace * LogTrace::first;
7 thread_local
unsigned LogTrace::change_counter;
12 LogTrace::change_counter++;
15 if( !LogTrace::first )
17 LogTrace::first =
this;
18 this->previous =
nullptr;
27 this->previous = last;
35 LogTrace::change_counter++;
39 this->previous->next = this->next;
41 LogTrace::first = this->next;
44 this->next->previous = this->previous;
49 return LogTrace::change_counter;
54 LogTrace * current = LogTrace::first;
58 current = current->next;