lib/slog/Logger.hpp
/**
     * Creates a new logger by cloning another.
     *
     * @param other the logger to clone
     * @param name  the name of the cloned logger
     */
Creates a new logger by cloning another.
@param other the logger to clone
@param name  the name of the cloned logger
Creates a new logger by cloning another . @param other the logger to clone @param name the name of the cloned logger
Logger(const Logger &other, const std::string &name) {
        this->name = name;
        this->targets = other.targets;
        this->date_time_format = other.date_time_format;
        this->level = other.level;
    }
Logger ( const Logger & other , const std :: string & name ) { this -> name = name ; this -> targets = other . targets ; this -> date_time_format = other . date_time_format ; this -> level = other . level ; }
Creates a new logger by cloning another.
Creates a new logger by cloning another .