Go to the source code of this file.
|
| int | SCOutputRegisterTxLogger (LoggerId id, const char *name, AppProto alproto, TxLogger LogFunc, void *initdata, int tc_log_progress, int ts_log_progress, TxLoggerCondition LogCondition, ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit) |
| | Register a transaction logger. More...
|
| |
| int | SCOutputRegisterTxLoggerForSubState (LoggerId id, const char *name, AppProto alproto, const uint8_t sub_state, TxLogger LogFunc, void *initdata, int tc_log_progress, int ts_log_progress, TxLoggerCondition LogCondition, ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit) |
| |
| void | OutputTxLoggerRegister (void) |
| |
| void | OutputTxShutdown (void) |
| |
- Author
- Victor Julien victo.nosp@m.r@in.nosp@m.linia.nosp@m.c.ne.nosp@m.t
AppLayer TX Logger Output registration functions
Definition in file output-tx.c.
◆ OutputTxLogger
◆ OutputTxLoggerThreadData
per thread data for this module, contains a list of per thread data for the packet loggers.
◆ OutputTxLoggerRegister()
| void OutputTxLoggerRegister |
( |
void |
| ) |
|
◆ OutputTxShutdown()
| void OutputTxShutdown |
( |
void |
| ) |
|
◆ SCOutputRegisterTxLogger()
Register a transaction logger.
- Parameters
-
| logger_id | An ID used to distinguish this logger from others while profiling. For transaction logging this is only used for some internal state tracking. |
| name | An informational name for this logger. Used for debugging. |
| alproto | The application layer protocol this logger is for, for example ALPROTO_DNS. |
| LogFunc | A pointer to the logging function. |
| initdata | Initialization data that will be provided to the ThreadInit callback. |
| tc_log_progress | The to_client progress state required for the log function to be called. |
| ts_log_progress | The to_server progress state required for the log function to be called. |
| LogCondition | A pointer to a function that will be called before the log function to test if the log function should be called. |
| ThreadInitFunc | Callback a thread initialization function, initdata will be provided. |
| ThreadDeinitFunc | Callback to a thread de-initialization function for cleanup. |
Definition at line 139 of file output-tx.c.
◆ SCOutputRegisterTxLoggerForSubState()
| int SCOutputRegisterTxLoggerForSubState |
( |
LoggerId |
id, |
|
|
const char * |
name, |
|
|
AppProto |
alproto, |
|
|
const uint8_t |
sub_state, |
|
|
TxLogger |
LogFunc, |
|
|
void * |
initdata, |
|
|
int |
tc_log_progress, |
|
|
int |
ts_log_progress, |
|
|
TxLoggerCondition |
LogCondition, |
|
|
ThreadInitFunc |
ThreadInit, |
|
|
ThreadDeinitFunc |
ThreadDeinit |
|
) |
| |
◆ g_file_logger_enabled
| bool g_file_logger_enabled |
◆ g_filedata_logger_enabled
| bool g_filedata_logger_enabled |