LogCabin
|
Functions | |
std::unique_ptr< Log > | makeLog (const Core::Config &config, const Storage::Layout &storageLayout) |
Construct and return a Log object. |
std::unique_ptr< Log > LogCabin::Storage::LogFactory::makeLog | ( | const Core::Config & | config, |
const Storage::Layout & | storageLayout | ||
) |
Construct and return a Log object.
config | Determines which concrete type of Log to construct. EXITs if this is invalid. |
storageLayout | Log implementations that write to the filesystem should place their files in here. |
Definition at line 30 of file LogFactory.cc.