mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
Fixed readme
This commit is contained in:
parent
5d7845c138
commit
447a6a15d9
@ -159,7 +159,7 @@ void daily_example()
|
|||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
#### Periodic flush
|
#### Cloning loggers
|
||||||
```c++
|
```c++
|
||||||
// clone a logger and give it new name.
|
// clone a logger and give it new name.
|
||||||
// Useful for creating subsystem loggers from some "root" logger
|
// Useful for creating subsystem loggers from some "root" logger
|
||||||
@ -171,7 +171,7 @@ void clone_example()
|
|||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
#### Cloning loggers for
|
#### Periodic flush
|
||||||
```c++
|
```c++
|
||||||
// periodically flush all *registered* loggers every 3 seconds:
|
// periodically flush all *registered* loggers every 3 seconds:
|
||||||
// warning: only use if all your loggers are thread safe!
|
// warning: only use if all your loggers are thread safe!
|
||||||
|
Loading…
Reference in New Issue
Block a user