Is there a way to disable logging in raylib-j
INFO: Initializing raylib 4.2 INFO: Supported raylib modules: INFO: > rcore:..... loaded (mandatory) INFO: > rlgl:...... loaded (mandatory) INFO: > rshapes:... loaded (optional) INFO: > rtextures:. loaded (optional) INFO: > rtext:..... loaded (optional) INFO: > rmodels:... loaded (optional) INFO: > raudio:.... loaded (optional) [0.942s][error][attach] failure (232) writing result of operation jcmd to pipe \\.\pipe\javatool-635549885 INFO: DISPLAY: Device initialized successfully INFO: > Display size: 1366 x 768 INFO: > Render size: 600 x 400 INFO: > Screen size: 600 x 400 INFO: > Viewport offsets: 0.0, 0.0
i tried to disable supportTraceLog and supportTracelogDebug in my main class, but it didn't work:
raylib.config.setSupportTracelog(false);
raylib.config.setSupportTracelogDebug(false);
Also i tried to find a method like SetTraceLogLevel(); but there wasn't any.
Here is what I tried:
import com.raylib.java.Raylib;
import static com.raylib.java.core.Color.\*;
public class Main {
public static void main(String\[\] args) {
Raylib raylib = new Raylib(600, 400, "Raylib-J Example");
raylib.config.setSupportTracelog(false);
raylib.config.setSupportTracelogDebug(false);
TickRate tickRate = new TickRate();
Player player = new Player(300, 200);
raylib.core.SetTargetFPS(0);
while (!raylib.core.WindowShouldClose()) {
tickRate.update();
raylib.core.BeginDrawing();
raylib.core.ClearBackground(BLACK);
player.create(raylib, tickRate.getDeltaTime());
raylib.text.DrawFPS(10, 10);
raylib.core.EndDrawing();
}
raylib.core.CloseWindow();
}