Send Message to LogMX Internal Warnings/Errors Console?

Notes, tips, and other usefull things on how to use LogMX

Moderator: admin

Post Reply
rmitola
Posts: 17
Joined: Mon Jun 08, 2015 7:08 pm

Send Message to LogMX Internal Warnings/Errors Console?

Post by rmitola »

Hello.

I noticed you can open a console alongside LogMX's client to view internal errors and warnings if you set this option to 1 (true) in the startup.conf file. I was wondering if there was some way for me to send messages from my own parser and/or manager classes to appear in this console? If this is not possible, is there any way for me to view such messages?

Thanks!
rmitola
Posts: 17
Joined: Mon Jun 08, 2015 7:08 pm

Re: Send Message to LogMX Internal Warnings/Errors Console?

Post by rmitola »

I figured it out:

For anyone wondering the same thing, you use System.out.println() as you would normally.

I had tried this and it didn't work previously, but it is because the piece of code I had included it in is not being run for some reason.
admin
Site Admin
Posts: 555
Joined: Sun Dec 17, 2006 10:30 pm

Re: Send Message to LogMX Internal Warnings/Errors Console?

Post by admin »

Hello,

You got it right with "System.out.println". But allowing Parsers/Managers to have access to LogMX internal logger is a good idea. We have added this on our TODO's list, thank you :wink:

Xavier
Post Reply