Commit 9e10006a authored by cutealien's avatar cutealien

Add logging level ELL_DEBUG. Use it in CAnimatedMeshSceneNode::getJointNode to...

Add logging level ELL_DEBUG. Use it in CAnimatedMeshSceneNode::getJointNode to prevent log-spamming for not found names (that's valid usually).


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3324 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 9add6759
- Add logging level ELL_DEBUG
- Add parameter DisplayAdapter to creation params to allow selecting the card when more than one card is in the system.
- Add parameter to line2d::intersectWith to allow getting intersections outside the segments (thx Yoran).
- Added support for custom cursors
- Avoid argument lookup ambiguity in swap when used in combination with stl. Using same trick as boost now and use 2 different template parameters in it.
- Fixed bug causing memory access violation in string::replace found and patched by Nalin.
- WM_SYSCOMMAND - SC_KEYMENU message is now ignored (F10 and ALT in Win32 windowed mode)
----------------------------- -----------------------------
Changes in 1.7.1 (17.02.2010) Changes in 1.7.1 (17.02.2010)
......
...@@ -11,18 +11,25 @@ namespace irr ...@@ -11,18 +11,25 @@ namespace irr
{ {
//! Possible log levels. //! Possible log levels.
//! When used has filter ELL_DEBUG means => log everything and ELL_NONE means => log (nearly) nothing.
//! When used to print logging information ELL_DEBUG will have lowest priority while ELL_NONE
//! messages are never filtered and always printed.
enum ELOG_LEVEL enum ELOG_LEVEL
{ {
//! High log level, warnings, errors and important information texts are printed out. //! Used for printing information helpful in debugging
ELL_INFORMATION = 0, ELL_DEBUG,
//! Default log level, warnings and errors are printed out //! Useful information to print. For example hardware infos or something started/stopped.
ELL_INFORMATION,
//! Warnings that something isn't as expected and can cause oddities
ELL_WARNING, ELL_WARNING,
//! Low log level, only errors are printed into the log //! Something did go wrong.
ELL_ERROR, ELL_ERROR,
//! Nothing is printed out to the log //! Logs with ELL_NONE will never be filtered.
//! And used as filter it will remove all logging except ELL_NONE messages.
ELL_NONE ELL_NONE
}; };
......
...@@ -596,7 +596,7 @@ IBoneSceneNode* CAnimatedMeshSceneNode::getJointNode(const c8* jointName) ...@@ -596,7 +596,7 @@ IBoneSceneNode* CAnimatedMeshSceneNode::getJointNode(const c8* jointName)
if (number == -1) if (number == -1)
{ {
os::Printer::log("Joint with specified name not found in skinned mesh.", jointName, ELL_WARNING); os::Printer::log("Joint with specified name not found in skinned mesh.", jointName, ELL_DEBUG);
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment