danieleteti / loggerpro

An modern and pluggable logging framework for Delphi
Apache License 2.0
352 stars 91 forks source link

Add demo for Console logger in GUI app #16

Closed TommiPrami closed 1 year ago

TommiPrami commented 6 years ago

Tried it, and allocated the Console, but did not see anything in the Console.

There must be some hoops I should jump through to get it working properly.

That would be very nice way to "debug" things on different computers (if not remote debugging possibilities), so really would like to test that and get it to working.

Fulgan commented 6 years ago

Here is a new version of the ConsoleAppender class that creates a new console if none is present.

It also works from the command line (although since LoggerPro is multithreaded, you'll end up with messages printed in the wrong order)

LoggerPro.ConsoleAppenderEx.pas.zip

TommiPrami commented 6 years ago

Woohoo!

danieleteti commented 6 years ago

It Will be included in the next version. Thank you