Skip to content

Debugging the rainbow screen #484

Answered by rsta2
SteveSpencer asked this question in Q&A
Discussion options

You must be logged in to vote

The following classes must be instantiated, before logging can be used:

  • CDeviceNameService
  • CSerialDevice (target for the logger)
  • CLogger

You must call Initialize() for the following classes, before logging can be used:

  • CSerialDevice (target for the logger)
  • CLogger

CLogger can be constructed without a reference for a CTimer object. It will not show the time then.

In your case I would instantiate the class CLVGL not as a member of CKernel, but as a local variable in CKernel::Run(). Then you can do all necessary initialization for the logger before.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SteveSpencer
Comment options

Answer selected by SteveSpencer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants