openmultiplayer / openmultiplayer/open.mp
Make logLn() with LogLevel::Debug work in third-party components that need Debug messages.
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 641
- Forks
- 208
- PR merge metrics
- No merged PRs in 30d
Description
Description
Currently, if the server is not compiled with _DEBUG, logLn(LogLevel::Debug, ...) will not work. I would like it to be possible not to write a special function that would output Debug message when there is already such a function in SDK.
OR
Add a server build with the _DEBUG parameter to Actions (you can do it yourself, but it still takes time, although it is one-time).
It's hard to call it something important and really necessary for execution (since it's not hard to write your own logging function). But I decided to create an issue about it.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the SDK implementation of logLn() and the handling of LogLevel::Debug, then inspect the GitHub Actions build configurations for _DEBUG. Determine whether Debug logging should work in normal server builds or whether an additional Actions build is preferred. Done means the selected approach allows third-party components to produce Debug messages and has a verifiable build or test result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, github-actions
- Domain
- ci-cd, observability
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100