Fixed example
This commit is contained in:
parent
5afb5dc782
commit
fe5aaf4932
|
@ -24,12 +24,6 @@ void err_handler_example();
|
||||||
namespace spd = spdlog;
|
namespace spd = spdlog;
|
||||||
int main(int, char *[])
|
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
|
try
|
||||||
{
|
{
|
||||||
// Console logger with color
|
// Console logger with color
|
||||||
|
|
Loading…
Reference in New Issue