Handle loggers with name that already exist
This commit is contained in:
@@ -39,7 +39,7 @@ namespace openVulkanoCpp
|
||||
* \brief Creates a new custom logger that writes to the main log file.
|
||||
* \param name The name of the logger
|
||||
* \param reg If set to true the logger can be accessed again with Logger::GetLogger(name)
|
||||
* \return The created logger
|
||||
* \return The created logger, if reg = true and a logger with the given name already exists this function will return the old logger.
|
||||
*/
|
||||
static Ptr CreateLogger(const std::string& name, bool reg = true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user