diff options
Diffstat (limited to 'src/libtipidee/tipidee_log_resource.c')
-rw-r--r-- | src/libtipidee/tipidee_log_resource.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libtipidee/tipidee_log_resource.c b/src/libtipidee/tipidee_log_resource.c new file mode 100644 index 0000000..dc525a5 --- /dev/null +++ b/src/libtipidee/tipidee_log_resource.c @@ -0,0 +1,11 @@ +/* ISC license. */ + +#include <skalibs/strerr.h> + +#include <tipidee/log.h> + +void tipidee_log_resource (uint32_t v, char const *docroot, char const *file, tipidee_resattr const *ra) +{ + if (!(v & TIPIDEE_LOG_RESOURCE)) return ; + strerr_warni6x("docroot ", docroot, " file ", file, " type ", ra->iscgi ? ra->isnph ? "nph" : "cgi" : ra->content_type) ; +} |