FransBouma / DocNet

Your friendly static documentation generator, using markdown files to build the content.
http://fransbouma.github.io/DocNet/
248 stars 36 forks source link

Improve logging #56

Closed GeertvanHorrik closed 7 years ago

GeertvanHorrik commented 7 years ago

While debugging my solution to #48 , I accidentally found out that some images were missing / could not be resolved. I think this can be improved by adding colored logging.

FransBouma commented 7 years ago

that will be difficult I think, as the parser doesn't know of any files. Checks have to be done after the fact, which results in a broken links check over the site...

GeertvanHorrik commented 7 years ago

But at least we can warn people that something went wrong in the process. Now I just found out because I had first-chance exceptions enabled and had a debugger attached.

FransBouma commented 7 years ago

ok, but how would you do that? :) An exception? The tool doesn't have a tracer and writing things to stdout will very likely go unnoticed.

GeertvanHorrik commented 7 years ago

Right, makes sense. And adding a log file will making merging future updates a pain. Let's close this one.