raysan5 / raylib

A simple and easy-to-use library to enjoy videogames programming
http://www.raylib.com
zlib License
21.41k stars 2.17k forks source link

[utils] Application aborts after calling TraceLog(LOG_ERROR) #1796

Closed colesnicov closed 3 years ago

colesnicov commented 3 years ago

Please, before submitting a new issue verify and check:

Issue description

Hello. I am trying this framework, and I came across one for me not quite understandable Matura. When I call: TraceLog (LOG_ERROR, ...);- application crashes with the return 1.

But when I call: TraceLog (LOG_FATAL, ...);- program runs on as if nothing happened.

Maybe I'm wrong, but shouldn't it be the other way around?

Environment

Ubuntu 20 (LTS)

raysan5 commented 3 years ago

@colesnicov LOG_FATAL level was added later on so exit() was on LOG_ERROR, in any case, just reviewed it to exit() on LOG_FATAL.