mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-21 03:12:41 +08:00
type
This commit is contained in:
parent
73b31e4d10
commit
eaa61ed448
@ -17,7 +17,7 @@ int main(int argc, char* argv[])
|
||||
int howmany = 1000000;
|
||||
|
||||
namespace spd = spdlog;
|
||||
///Create a file rotating logger with 5mb size max and 5 rotated files
|
||||
///Create a file rotating logger with 10mb size max and 5 rotated files
|
||||
auto logger = spd::rotating_logger_mt("file_logger", "logs/spd-sample", 10 *1024 * 1024 , 5, false);
|
||||
|
||||
logger->set_pattern("[%Y-%b-%d %T.%e]: %v");
|
||||
|
Loading…
Reference in New Issue
Block a user