Irrlicht without console output?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
IrrlichtForiOS
Posts: 61
Joined: Mon Oct 08, 2012 1:46 pm

Irrlicht without console output?

Post by IrrlichtForiOS »

I it possible to deactivate the console-output of the irrlicht engine by code? It's really a mess to deal with all these output while the device starts and loads textures.
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Irrlicht without console output?

Post by CuteAlien »

Create the device with createDeviceEx. In the SIrrlichtCreationParameters you can set LoggingLevel to ELL_NONE. Thought using ELL_ERROR is probably better so you still get a message when something breaks and will remove all non-error output. I think default level is ELL_INFORMATION.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
IrrlichtForiOS
Posts: 61
Joined: Mon Oct 08, 2012 1:46 pm

Re: Irrlicht without console output?

Post by IrrlichtForiOS »

CuteAlien wrote:Create the device with createDeviceEx. In the SIrrlichtCreationParameters you can set LoggingLevel to ELL_NONE. Thought using ELL_ERROR is probably better so you still get a message when something breaks and will remove all non-error output. I think default level is ELL_INFORMATION.
Thanks dude, this works fine :-)
Post Reply