Skip to content

Commit

Permalink
Use log
Browse files Browse the repository at this point in the history
  • Loading branch information
autosquash committed Jan 16, 2024
1 parent 0b4480a commit b1a2971
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/textos.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ std::string construir_texto_instrucciones(
const std::string &plantilla, //
const std::optional<NumNivel> num_nivel //
) {
std::cout << "En construir_texto_instrucciones()" << std::endl;
CadenaJuego cadena = interpolar_unicode(plantilla);
std::string repr_num_nivel;
if (num_nivel == std::nullopt) {
Expand Down
5 changes: 3 additions & 2 deletions src/vista/vista.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include "vista.h"
#include "../fase_nivel.h"
#include "../log_init.h"
#include "../templates/helpers.h"
#include "basicos_vista.h"
#include "grid.h"
Expand Down Expand Up @@ -104,13 +105,13 @@ void Vista::setup(
const std::string &instrucciones, //
const std::optional<NumNivel> num_nivel //
) {
std::cout << "Inicializando etiquetas" << std::endl;
LOG(info) << "Inicializando etiquetas" << std::endl;
etiquetas.setup(
instrucciones, //
num_nivel, //
tp_disponibles //
);
std::cout << "Etiquetas inicializadas" << std::endl;
LOG(info) << "Etiquetas inicializadas" << std::endl;
// Mostrar botones iniciales
botones->generales.alternar_grid.visible = MODO_DESARROLLO;
botones->generales.reiniciar.visible = true;
Expand Down

0 comments on commit b1a2971

Please sign in to comment.