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

How tf do i set a callback funtion?? #37

Open
sudokit opened this issue Apr 25, 2023 · 1 comment
Open

How tf do i set a callback funtion?? #37

sudokit opened this issue Apr 25, 2023 · 1 comment

Comments

@sudokit
Copy link

sudokit commented Apr 25, 2023

rn i have

log_add_callback((void*)log_callback, (void *)0, LOG_ERROR);

but wtf do i put in place of the udata and log level?

@sudokit
Copy link
Author

sudokit commented Apr 25, 2023

I mean it works but isnt pretty and pretty sure also not correct.

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

No branches or pull requests

1 participant