yantanglife

Results 2 comments of yantanglife

stackIn模拟入队,stackOut模拟出队。因此出队的时候,先判断stackOut是否为空,如果为空,则将stackIn的所有数据压栈到stackOut,此时stackOut栈顶元素就是模拟队列的头元素;如果不为空,就直接将stackOut栈顶元素出栈。

```cpp el::Loggers::reconfigureLogger("custom", el::ConfigurationType::Format, "%datetime{%Y %a} %level [%logger]: %msg"); CLOG(INFO, "custom")