Logging question?

Hi,

How can I use Logging in many forms?

1) For every form I have to add TMSLogging to uses list.
2) In each forms I have to use the same TMSLogger variable.

This two points are ok?

Regards,


I find bug in logging.

If you use sign "<" in logged message e.g.
TMSLogger.Info('Server Start <---');

the output is:
2019-07-26 13:40:00.160, [Info][Value: Server Start 2019-07-26 13:40:00.160, [Info][Value: Server Start <---]

should be:
2019-07-26 13:40:00.160, [Info][Value: Server Start <---]

Regards,

Yes, two points are ok. 

 Regarding the bug, please contact us directly to get a patch that fixes the problem.

I find bug in logging.

If you use sign "<" in logged message e.g.

TMSLogger.Info('Server Start <---');

the output is:

2019-07-26 13:40:00.160, [Info][Value: Server Start 2019-07-26 13:40:00.160, [Info][Value: Server Start <---]

should be:

2019-07-26 13:40:00.160, [Info][Value: Server Start <---]

Regards,

Hi,

Is this bug was fixed? ... in new 2.1.0.0 I have the same problem with sign "<"

The same problem with ">" sign ... try logging to file this TMSLogger.Info("<>"); The output string is empty.

This is not exactly a bug but a behavior. We have internally improved the system to allow you bypass that behavior by setting the output handler StripHtml property to False.
But this improvement was not released yet.

Ok ... I will be waiting for new release.