pulsar-client-cpp
Public Member Functions | List of all members
pulsar::LoggerFactory Class Referenceabstract
Inheritance diagram for pulsar::LoggerFactory:
pulsar::ConsoleLoggerFactory pulsar::FileLoggerFactory

Public Member Functions

virtual LoggergetLogger (const std::string &fileName)=0
 

Member Function Documentation

◆ getLogger()

virtual Logger* pulsar::LoggerFactory::getLogger ( const std::string &  fileName)
pure virtual

Create a Logger that is created from the filename

Parameters
fileNamethe filename that is used to construct the Logger
Returns
a pointer to the created Logger instance
Note
the pointer must be allocated with the new keyword in C++

Implemented in pulsar::FileLoggerFactory, and pulsar::ConsoleLoggerFactory.


The documentation for this class was generated from the following file: