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

using log_set_level(int level). #15

Closed
sakthivelpalani123 opened this issue Jun 19, 2019 · 1 comment
Closed

using log_set_level(int level). #15

sakthivelpalani123 opened this issue Jun 19, 2019 · 1 comment

Comments

@sakthivelpalani123
Copy link

How to use this function in a new c program.

@egorsmkv
Copy link

Like the following:

#include <stdio.h>
#include <stdlib.h>

#include "log.h"

int main(int argc, char *argv[]) {

    log_set_level(LOG_INFO);

    log_debug("Hello, World!");
    log_warn("%d", argc);

  ///
}

@rxi rxi closed this as completed Jun 20, 2020
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

3 participants