mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
Fixed example
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user