Skip to content

Commit

Permalink
add to log: Add module
Browse files Browse the repository at this point in the history
  • Loading branch information
jlucovsky committed Apr 5, 2021
1 parent b9c9cf4 commit 13c39aa
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/util-debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,14 +341,10 @@ static const char *SCTransformModule(const char *module_name, int *dn_len)
*
* \retval SC_OK on success; else an error code
*/
static SCError SCLogMessageGetBuffer(
struct timeval *tval, int color, SCLogOPType type,
char *buffer, size_t buffer_size,
const char *log_format,
const SCLogLevel log_level, const char *file,
const unsigned int line, const char *function,
const char *module, const SCError error_code,
const char *message)
static SCError SCLogMessageGetBuffer(struct timeval *tval, int color, SCLogOPType type,
char *buffer, size_t buffer_size, const char *log_format, const SCLogLevel log_level,
const char *file, const unsigned int line, const char *function, const char *module,
const SCError error_code, const char *message)
{
if (type == SC_LOG_OP_TYPE_JSON)
return SCLogMessageJSON(tval, buffer, buffer_size, log_level, file, line, function, module,
Expand Down

0 comments on commit 13c39aa

Please sign in to comment.