Robbert van der Helm
3b350e89a0
Update copyright notices
2026-04-26 16:39:33 +02:00
Robbert van der Helm
49e696e42f
Update the copyright headers
...
Happy new year!
2024-01-09 19:25:38 +01:00
Robbert van der Helm
1e66654c2e
Update copyright headers for 2023
...
Happy new year!
2023-01-01 18:51:35 +01:00
Robbert van der Helm
85989f4c1d
Also add a way to use logging library without Asio
2022-04-16 20:37:11 +02:00
Robbert van der Helm
1fec4c8860
Change the description in the GPL header
2022-04-16 20:37:10 +02:00
Robbert van der Helm
c8bbdc4f54
Get rid of the last uses of Boost.Process
2022-04-16 20:37:10 +02:00
Robbert van der Helm
0b9a16cf40
Change the naming scheme for class field members
...
I'm not a fan of Hungarian notation, but C++ kind of needs it with its
implicit `this`. And of all the common options for this, I find
suffixing members with an underscore the least offensive one.
2022-01-01 21:07:17 +01:00
Robbert van der Helm
e0ab24e645
Update copyright headers
...
Happy new year!
2022-01-01 18:32:10 +01:00
Robbert van der Helm
6fab25cabf
Remove unnecessary early return
2021-08-16 21:21:57 +02:00
Robbert van der Helm
1a34a80c21
Add a special exception logger
...
We'll need this to make sure that we can redirect caught exceptions
printed in `src/common/` to the correct file if `YABRIDGE_DEBUG_FILE` is
set.
2021-07-23 15:46:08 +02:00
Robbert van der Helm
640c188338
Fix duplicate timestamps in Wine log messages
...
Regression caused by the merging of these two functions in a1cb3b6 .
2021-07-20 04:09:19 +02:00
Robbert van der Helm
a1cb3b614b
Add a +editor flag to YABRIDGE_DEBUG_LEVEL
2021-07-20 03:01:16 +02:00
Robbert van der Helm
e7366006df
Append to the STDERR stream
...
This got lost when changing from using `std::cerr` to opening
`/dev/stderr` directly.
2021-06-26 12:42:53 +02:00
Robbert van der Helm
4d58adb83f
Prevent against environment modifications
...
Should not be necessary here, but better safe than sorry.
2021-06-16 01:11:36 +02:00
Robbert van der Helm
df93944f3b
Prevent allocations caused by Logger::log_trace
...
C++ would always construct an `std::string` from the string constant
every iteration. Since this also happened when `YABRIDGE_DEBUG_LEVEL` is
not set to 2, this ended up causing unnecessary allocations.
2021-05-23 00:21:21 +02:00
Robbert van der Helm
ce668ec022
Clean up style
2021-05-05 19:38:46 +02:00
Robbert van der Helm
2ea3f52632
Fix double timestamps in Wine STDERR logger
2021-02-13 17:42:30 +01:00
Robbert van der Helm
a1bb522ea0
Move piping stream lines to the log to common
2021-02-12 18:35:07 +01:00
Robbert van der Helm
34f8d3b1d2
Update the copyright notices for 2021
2021-01-01 18:54:02 +01:00
Robbert van der Helm
d6a33b422d
Fix Vst3Bridge stderr logger
...
This was trying to free `std::cerr`, which of course won't work.
2020-12-27 18:33:09 +01:00
Robbert van der Helm
cc2e12c8e4
Allow creating logger instances on the Wine side
...
So we can log filterable messages from the Wine side. Will be used to
warn about failed query interface calls.
2020-12-25 15:15:28 +01:00
Robbert van der Helm
f9a1bcd7bd
Split VST2 specific functionality into Vst2Logger
2020-12-07 18:28:16 +01:00
Robbert van der Helm
2230b5099f
Move logger to common/logging/common.h
2020-12-07 18:28:16 +01:00