-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Add exports for syslog api. #5149
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 exports for syslog api. #5149
Conversation
extern "C" void Native_CloseLog() | ||
{ | ||
closelog(); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add new line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
#include <syslog.h> | ||
#include <nativesyslog.h> | ||
|
||
extern "C" void Native_SysLog(int32_t priority, const char* message) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Many cpp
files in the directory has "//! " comments. If it is best practice please add doc comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
@iSazonov, @daxian-dbw, @TravisEz13 FYI: This is blocking the syslog PR and generating a new nuget package. Thanks. |
I don't have additional comments except for what @iSazonov has pointed out. |
@daxian-dbw There are no additional dependencies. |
@dantraMSFT I don't see new commit. |
@dantraMSFT Can you please address @iSazonov's comments, then the PR can be approved and merged. |
PR update. D'oh! |
This change enables calling the syslog apis to support issue #3766
#5144 is dependent on this change and also requires the libpsl-native nuget package to be republished.