pulsar-client-cpp
Loading...
Searching...
No Matches
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::ConsoleLoggerFactory, and pulsar::FileLoggerFactory.


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