mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 08:25:43 +08:00
Fixed example
This commit is contained in:
parent
5afb5dc782
commit
fe5aaf4932
@ -24,12 +24,6 @@ void err_handler_example();
|
||||
namespace spd = spdlog;
|
||||
int main(int, char *[])
|
||||
{
|
||||
fmt::MemoryWriter w;
|
||||
w.write("HELLO", 10);
|
||||
std::string s(w.data(), w.size());
|
||||
std::cout << s << std::endl;
|
||||
return 0;
|
||||
|
||||
try
|
||||
{
|
||||
// Console logger with color
|
||||
|
Loading…
Reference in New Issue
Block a user