I have question, maybe it’s not critical in programming, but to me it’s very interesting.
I am writing a parser, and now, when he grew up in code somewhere it’s very important embed some kind of warning. I mean, I have a class loader, and if you did not specify path to the texture, parser class send message it to console, that path is not specified, but the rest of it is loaded. Actually what I want to ask – is there any system of classification system messages, and where can i read about it.
I mean the qualification system messages such as:
- NOTICE: olololo – the application will be to work fine, but you should pay attention to this message
- ATENTION: olololo – an error which may entail the failure of the program
- WARNING: olololo – there was a problem in which future work program, in any case lead to an error, so the application will be closed forcibly.
i’ll be glad to any advice, if from personal experience is even better))) and yes, I’m just learning to programming)
If you mean “how do I categorize my logging messages by severity level”, this is an example of what levels the standard Java logging libraryuses:
Alternatively, sl4j