#include <audit_factory.hpp>
Static Public Member Functions | |
| static AuditService * | createAuditService () |
| Creates and returns a new instance of AuditService. | |
|
static |
Creates and returns a new instance of AuditService.
This method is responsible for dynamically allocating and returning a new AuditService object. The caller is responsible for managing the lifetime of the returned object and ensuring it is properly deleted to avoid memory leaks.