lib/slog/Logger.hpp
/**
     * Creates a new logger.
     *
     * @param name          the name of the logger
     * @param initialLevel  the initial level for the logger, defaults to INFO
     * @param initialTarget the initial target for the logger, defaults to stderr
     */
Creates a new logger.
@param name          the name of the logger
@param initialLevel  the initial level for the logger, defaults to INFO
@param initialTarget the initial target for the logger, defaults to stderr
Creates a new logger . @param name the name of the logger @param initialLevel the initial level for the logger defaults to INFO @param initialTarget the initial target for the logger defaults to stderr
Logger(const std::string &name, Level initialLevel = INFO, FILE *initialTarget = stderr) {
        this->name = name;
        this->targets.push_back(initialTarget);
        this->date_time_format = "%Y-%m-%d %H:%M:%S %z";
        this->level = initialLevel;
    }
Logger ( const std :: string & name , Level initialLevel = INFO , FILE * initialTarget = stderr ) { this -> name = name ; this -> targets . push_back ( initialTarget ) ; this -> date_time_format = " " ; this -> level = initialLevel ; }
Creates a new logger.
Creates a new logger .