Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add C interface and fix bug #607

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

KangLin
Copy link

@KangLin KangLin commented Dec 21, 2023

  • clogger: fix forceLog with log

  • clogger: add interface:

    • LOG4CPLUS_EXPORT int log4cplus_logger(const log4cplus_char_t* name,
      const char* file, int line, const char* function,
      log4cplus_loglevel_t ll, const log4cplus_char_t* msgfmt, ...)
      LOG4CPLUS_FORMAT_ATTRIBUTE(printf, 6, 7);

    • LOG4CPLUS_EXPORT int log4cplus_logger_str(const log4cplus_char_t* name,
      const char* file, int line, const char* function,
      log4cplus_loglevel_t ll, const log4cplus_char_t* msg);

- LOG4CPLUS_EXPORT int log4cplus_logger(const log4cplus_char_t* name,
    const char* file, int line, const char* function,
    log4cplus_loglevel_t ll, const log4cplus_char_t* msgfmt, ...)
    LOG4CPLUS_FORMAT_ATTRIBUTE(__printf__, 6, 7);

- LOG4CPLUS_EXPORT int log4cplus_logger_str(const log4cplus_char_t* name,
    const char* file, int line, const char* function,
    log4cplus_loglevel_t ll, const log4cplus_char_t* msg);
@wilx wilx self-assigned this Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants