mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 10:01:33 +08:00
Merge branch 'v1.x' of https://github.com/gabime/spdlog into v1.x
This commit is contained in:
commit
69b54dd9e4
@ -9,7 +9,7 @@
|
||||
|
||||
//
|
||||
// Support for logging binary data as hex
|
||||
// format flags:
|
||||
// format flags, any combination of the followng:
|
||||
// {:X} - print in uppercase.
|
||||
// {:s} - don't separate each byte with space.
|
||||
// {:p} - don't print the position on each line start.
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
#include <spdlog/fmt/fmt.h>
|
||||
|
||||
// Stopwatch support for spdlog (using std::chrono::high_resolution_clock).
|
||||
// Stopwatch support for spdlog (using std::chrono::steady_clock).
|
||||
// Displays elapsed seconds since construction as double.
|
||||
//
|
||||
// Usage:
|
||||
@ -27,7 +27,7 @@
|
||||
namespace spdlog {
|
||||
class stopwatch
|
||||
{
|
||||
using clock = std::chrono::high_resolution_clock;
|
||||
using clock = std::chrono::steady_clock;
|
||||
std::chrono::time_point<clock> start_tp_;
|
||||
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user