GETwhen there is a body
i can confirm that curl works as it should..
So, using curl it works as expected?
Hey @koraytoksoz_gitlab ,
there should be some internal debug logs right? like when an endpoint is reached, a connection opened or closed etc
Currently, we don't have those.
We have a configurable system-wide logger that you can customize.
But we don't have an every-step-logs in the system which can be enabled by a compiler option.
Connectionto put your logs there
Hey @all! We released a new example called IoT-Hue-SSDP.
While its name is kinda odd, its functionality is very novel to Oat++!
It demonstrates how Oat++ can be used to develop an Amazon Alexa or Google Home compatible REST-API which emulates Philips Hue bulbs.
In this example, Oat++ answers to search requests of you favorite SmartHome hub and you can register your fake bulbs to it. For this we implemented the new Oat++ module
oatpp-ssdp which can be found here https://github.com/oatpp/oatpp-ssdp
After the registration of your fake bulbs to your Hub/Alexa/Google Home, you can control your Oat++ application with "Alexa, turn on <your fake device name>"!
You can find this example here: https://github.com/oatpp/example-iot-hue-ssdp
DefaultLoggerimplementation of our
You can implement your own subclass of
Logger with your own
void log(v_int32 priority, const std::string& tag, const std::string& message) function.
In this function, you can filter, format and print the logs to your liking :)
Hello @h4nnib4l-133 ,
I would suggest the following:
Any of these will give you a good start