openmultiplayer / openmultiplayer/open.mp

Make logLn() with LogLevel::Debug work in third-party components that need Debug messages.

Open
#839 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.