Login Page - Create Account

Support Board

Date/Time: Sat, 28 Nov 2020 01:56:07 +0000

AddMessageToLog not writing to log

[2020-11-22 06:56:48]
User153286 - Posts: 19 | Ending Date: 2020-11-30
I have the following code in my custom study, but it's not appearing in the Message Log

int MyInt = 50;
float MyFloat = 2.5f;
SCString Buffer;
Buffer.Format("My integer is %d. My float is: %f", MyInt, MyFloat);


Any suggestions why it won't write to the log?
[2020-11-22 14:51:11]
Sierra Chart Engineering - Posts: 91599 | Ending Date: 2021-04-05
Make sure that Window >>Disable Visible Message Logging is unchecked.

Otherwise, that function call in your code must not actually be getting called.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy:

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
Date Time Of Last Edit: 2020-11-22 14:51:30

To post a message in this thread, you need to login with your Sierra Chart account:


Login Page - Create Account