cleanup logs

This commit is contained in:
brunoherbelin
2020-05-11 12:07:16 +02:00
parent 4303f4ba4d
commit 0b5f3de944
4 changed files with 2 additions and 6 deletions

View File

@@ -146,7 +146,7 @@ void FrameBuffer::checkFramebufferStatus()
Log::Warning(" GL_FRAMEBUFFER_UNDEFINED is returned if target is the default framebuffer, but the default framebuffer does not exist.");
break;
case GL_FRAMEBUFFER_COMPLETE:
Log::Info("Framebuffer created.");
Log::Info("Framebuffer created %d x %d.", width(), height());
break;
}
}

View File

@@ -128,8 +128,6 @@ bool Rendering::Init()
glViewport(0, 0, main_window_attributes_.viewport.x, main_window_attributes_.viewport.y);
main_window_attributes_.clear_color = glm::vec4(COLOR_BGROUND, 1.0);
Log::Info("viewport %d x %d", main_window_attributes_.viewport.x, main_window_attributes_.viewport.y);
// Gstreamer link to context
g_setenv ("GST_GL_API", "opengl3", FALSE);
gst_init (NULL, NULL);

View File

@@ -74,7 +74,6 @@ void SessionCreator::loadSession(XMLElement *sessionNode)
// TODO : create other types of source
}
Log::Info("Created %d Sources", counter);
}
else
Log::Warning("Session seems empty.");

View File

@@ -155,7 +155,7 @@ bool UserInterface::Init()
// Load Fonts (using resource manager, NB: a temporary copy of the raw data is necessary)
int base_font_size = int ( Rendering::manager().MonitorHeight() / 90.f );
Log::Info("Base font size %d (%.1f)", base_font_size, Rendering::manager().MonitorHeight());
Log::Info("Base font size %d", base_font_size);
ImGuiToolkit::SetFont(ImGuiToolkit::FONT_DEFAULT, "Roboto-Regular", base_font_size);
ImGuiToolkit::SetFont(ImGuiToolkit::FONT_BOLD, "Roboto-Bold", base_font_size);
ImGuiToolkit::SetFont(ImGuiToolkit::FONT_ITALIC, "Roboto-Italic", base_font_size);
@@ -1054,7 +1054,6 @@ void Navigator::RenderNewPannel()
ImGuiToolkit::HelpMarker("A Media source displays an image or a video file.");
// browse folder
if (ImGuiToolkit::ButtonIcon(2, 5)) {
Log::Info("Settings::application.recentMedia.path %s", Settings::application.recentMedia.path.c_str());
std::thread (MediaDialogOpen, Settings::application.recentMedia.path).detach();
}
// combo recent