Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ int main()
});

// enables all log
app.loglevel(crow::LogLevel::DEBUG);
app.loglevel(crow::LogLevel::Debug);
//crow::logger::setHandler(std::make_shared<ExampleLogHandler>());

app.port(18080)
Expand Down
2 changes: 1 addition & 1 deletion examples/example_vs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ int main()
});

// ignore all log
crow::logger::setLogLevel(crow::LogLevel::DEBUG);
crow::logger::setLogLevel(crow::LogLevel::Debug);
//crow::logger::setHandler(std::make_shared<ExampleLogHandler>());

app.port(18080)
Expand Down
8 changes: 0 additions & 8 deletions include/crow/logging.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@ namespace crow
{
enum class LogLevel
{
#ifndef ERROR
DEBUG = 0,
INFO,
WARNING,
ERROR,
CRITICAL,
#endif

Debug = 0,
Info,
Warning,
Expand Down