Package jetbrains.mps.generator.impl
Class GenerationSessionLogger
- java.lang.Object
 - 
- jetbrains.mps.generator.impl.GeneratorLoggerAdapter
 - 
- jetbrains.mps.generator.impl.GenerationSessionLogger
 
 
 
- 
- All Implemented Interfaces:
 IGeneratorLogger
public class GenerationSessionLogger extends GeneratorLoggerAdapter implements IGeneratorLogger
Almost useless(?!)IGeneratorLoggerimplementation that counts errors and warnings and aware of errors for modules (beside nodes). 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface jetbrains.mps.generator.IGeneratorLogger
IGeneratorLogger.ProblemDescription 
 - 
 
- 
Field Summary
- 
Fields inherited from class jetbrains.mps.generator.impl.GeneratorLoggerAdapter
myFactory, myHandleInfo, myHandleWarnings, myMessageHandler 
 - 
 
- 
Constructor Summary
Constructors Constructor Description GenerationSessionLogger(GeneratorLoggerAdapter logger, jetbrains.mps.generator.impl.GeneratorLoggerAdapter.MessageFactory factory) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiderrorReported()intgetErrorCount()intgetWarningCount()protected voidwarningReported()- 
Methods inherited from class jetbrains.mps.generator.impl.GeneratorLoggerAdapter
addMessage, error, error, handleException, info, info, needsInfo, needsWarnings, report, report, trace, warning, warning 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface jetbrains.mps.generator.IGeneratorLogger
error, error, handleException, info, info, needsInfo, needsWarnings, warning, warning 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
GenerationSessionLogger
public GenerationSessionLogger(GeneratorLoggerAdapter logger, jetbrains.mps.generator.impl.GeneratorLoggerAdapter.MessageFactory factory)
 
 - 
 
- 
Method Detail
- 
errorReported
protected void errorReported()
- Overrides:
 errorReportedin classGeneratorLoggerAdapter
 
- 
warningReported
protected void warningReported()
- Overrides:
 warningReportedin classGeneratorLoggerAdapter
 
- 
getErrorCount
public int getErrorCount()
 
- 
getWarningCount
public int getWarningCount()
 
 - 
 
 -