lokinet/llarp/util/logging
Thomas Winget a91bb35dbf
Some Windows fixes (#1415)
* Should fix some windows service issues

* fix return condition inversion

* Add some Trace level logging

also make the logger actually respect the log level you set.

* event loop should not queue things to itself...

at present, logic thread queue continues until it is empty, so
queueing things onto itself is just wasteful.

* call_later(foreach thing) is better than foreach thing (call later)

also if you already queued those things but they have not happened yet,
there is no sense to queue them to happen again.

* do not queue read on write finish, only on read finish

* failure to start DNS server should be proper startup failure.

without the DNS server working lokinet is...kinda pointless, right?

* format

* don't queue stuff to logic thread if in logic thread
the thing that clears the queue...clears it.  So you're just delaying and adding overhead.

* windows unbound thread sleep instead of just busy-waiting

also clang-format decided I can't have a blank line for some reason...

* fix unbound async worker on windows
2020-10-21 09:06:43 -04:00
..
android_logger.cpp Config file improvements (#1397) 2020-10-07 18:22:58 -04:00
android_logger.hpp revive android build system (#1339) 2020-09-22 15:04:15 -04:00
file_logger.cpp use lokimq workers instead of llarp:🧵:ThreadPool 2020-07-02 11:07:34 -04:00
file_logger.hpp use lokimq workers instead of llarp:🧵:ThreadPool 2020-07-02 11:07:34 -04:00
json_logger.cpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
json_logger.hpp Config file improvements (#1397) 2020-10-07 18:22:58 -04:00
logger_internal.cpp first pass fix wstring path conversions 2020-05-26 20:48:07 -05:00
logger_internal.hpp Config file improvements (#1397) 2020-10-07 18:22:58 -04:00
logger_syslog.hpp Config file improvements (#1397) 2020-10-07 18:22:58 -04:00
logger.cpp Some Windows fixes (#1415) 2020-10-21 09:06:43 -04:00
logger.hpp use lokimq workers instead of llarp:🧵:ThreadPool 2020-07-02 11:07:34 -04:00
loglevel.cpp C++17 2020-05-01 17:43:27 -03:00
loglevel.hpp C++17 2020-05-01 17:43:27 -03:00
logstream.hpp Fix logging initialization and flush at program exit 2020-04-07 14:27:30 -06:00
ostream_logger.cpp Config file improvements (#1397) 2020-10-07 18:22:58 -04:00
ostream_logger.hpp Config file improvements (#1397) 2020-10-07 18:22:58 -04:00
syslog_logger.cpp Config file improvements (#1397) 2020-10-07 18:22:58 -04:00
win32_logger.cpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
win32_logger.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00