summaryrefslogtreecommitdiff
path: root/src/bindings.c
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-01-04 12:40:29 -0600
committersanine <sanine.not@pm.me>2022-01-04 12:40:29 -0600
commita026db7389c15eb5a8905e6f04eb3a92bf31f9bc (patch)
treeb8d0ff6049db05acb8068ce1cc0e1dcd40fc0797 /src/bindings.c
parent0e84036b1b727356d433373b017204a8d575d2e4 (diff)
improve logging and move per-function logs to TRACE
Diffstat (limited to 'src/bindings.c')
-rw-r--r--src/bindings.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bindings.c b/src/bindings.c
index 1e24570..7a94020 100644
--- a/src/bindings.c
+++ b/src/bindings.c
@@ -49,7 +49,7 @@ static void md_callback(const MD_CHAR *html, MD_SIZE size, void *data)
int markdown(lua_State *L)
{
- argent_log(DEBUG, "begin markdown parsing");
+ argent_log(TRACE, "begin markdown parsing");
char *markdown_buffer;
hs_parse_args(L, hs_str(markdown_buffer));
size_t len = strlen(markdown_buffer);
@@ -79,7 +79,7 @@ int markdown(lua_State *L)
lua_pushstring(L, data.buf);
free(data.buf);
- argent_log(DEBUG, "finish markdown parsing");
+ argent_log(TRACE, "finish markdown parsing");
return 1;
}
@@ -91,7 +91,7 @@ static struct dirent *read_dir(lua_State *L, DIR *directory);
int scan_directory(lua_State *L)
{
- argent_log(DEBUG, "begin scan_directory()");
+ argent_log(TRACE, "begin scan_directory()");
char *dir_name;
hs_parse_args(L, hs_str(dir_name));
@@ -120,7 +120,7 @@ int scan_directory(lua_State *L)
}
closedir(directory);
- argent_log(DEBUG, "end scan_directory()");
+ argent_log(TRACE, "end scan_directory()");
return 2;
}