Jump to content

[SOLVED] Logging no longer works


photo

Recommended Posts

Hi strange issue here.  None of my Log statements work anymore, either from c++ or from script.

 

Adding this line to the init() method of my unigine.cpp script:

 

log.message("HEY!!!\n");

 

Adding this line to c++:

 

Log::message("Hello world.\n");

 

I thought maybe it was an output level for the logging system (as many logging systems have a way to filter out less important messages).  So I tried Log::error and it still didn't print anything out.  I think maybe logging is just disabled somehow?  But I can't find a setting anywhere to turn it back on.  Also, other guys in the office with the same code base are seeing their logs.

 

Attached is my log file.  Note all the logging done by the engine is present, just no logging in any of our code (there should be quite a bit in there).

 

Also, the logging doesn't show in the console either.

 

Thanks.

 

 

log.html

Link to comment

Update on this: This is embarrassing but it's working now.  I spent several hours on this yesterday trying to track it down.  I can't say what's changed.   I don't think I've changed any code.

Link to comment
×
×
  • Create New...