]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkMessageManager.h
*** empty log message ***
[bbtk.git] / kernel / src / bbtkMessageManager.h
index 4809db51b611b1c0415dbe5cbc12a5fbb22b3b23..898bc7fb1cf4f8ff89954ec87d6132324b8c6f77 100644 (file)
@@ -12,7 +12,7 @@
   (for example : "Kernel" messages are generated by the core classes of the library, there can be a type of 
   message for each type of Node, and so on...)
   A type of message must be declared by registering it into the MessageManager. This is done by a line like :
-  bbtk::MessageManager::RegisterMessageType("Core","Messages generated by the core classes of the library",5);
+  bbtk::MessageManager::RegisterMessageType("Kernel","Messages generated by the core classes of the library",5);
   where : 
   -The first string is the type of the message (the category which will be used to generate a message of this type)
   -The second string is help string
 
   example :
 
-  bbtkMessage("Core",4,"problem with "<<GetName()<<bbtkendl);
+  bbtkMessage("Kernel",4,"problem with "<<GetName()<<bbtkendl);
 
-  will push the 3rd argument in std::cout if the message level of "Core" messages is greater or equal to 4.
+  will push the 3rd argument in std::cout if the message level of "Kernel" messages is greater or equal to 4.
   which means that it generates a message of level 4 (0 : very important/always displayed ... 9 : deep debug message).
 
   At run time, one is able to change the level of the messages displayed by using a command like :
   
-  bbtk::MessageManager::SetMessageLevel("Core",5); 
+  bbtk::MessageManager::SetMessageLevel("Kernel",5); 
   
-  which tells the manager to display all Core messages of level up to 5.
+  which tells the manager to display all Kernel messages of level up to 5.
 
   Variants :