diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2017-06-11 10:08:37 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2017-06-11 10:08:37 +0100 |
commit | 8b4ce0ba86d0396bde2546dd248c863876da4106 (patch) | |
tree | 72ac2147cda97ddac20144a60e7b0644a0cc303f /test/basic.c | |
parent | 8052642eadfb95b244f978b10889dff51f9133f5 (diff) | |
download | libnslog-8b4ce0ba86d0396bde2546dd248c863876da4106.tar.gz libnslog-8b4ce0ba86d0396bde2546dd248c863876da4106.tar.bz2 |
Another step toward filters working
Diffstat (limited to 'test/basic.c')
-rw-r--r-- | test/basic.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/basic.c b/test/basic.c index 7626dd8..d514814 100644 --- a/test/basic.c +++ b/test/basic.c @@ -4,7 +4,7 @@ * This file is part of libnslog. * * Licensed under the MIT License, - * http://www.opensource.org/licenses/mit-license.php + * http://www.opensource.org/licenses/mit-license.php */ #include "nslog/nslog.h" @@ -18,10 +18,10 @@ static void test_render_function( const char *fmt, va_list args) { (void)ctx; - fprintf(stderr, "%s %s:%d [%s] %s() ", - nslog_level_name(ctx->level), - ctx->filename, ctx->lineno, - ctx->category->name, + fprintf(stderr, "%s %s:%d [%s] %s() ", + nslog_level_name(ctx->level), + ctx->filename, ctx->lineno, + ctx->category->name, ctx->funcname); vfprintf(stderr, fmt, args); fprintf(stderr, "\n"); |