Davinci plugin logger

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

EsmeraldaQuintero

  • Posts: 7
  • Joined: Fri Mar 06, 2020 12:36 am
  • Real Name: Esmeralda Quintero

Davinci plugin logger

PostTue Mar 17, 2020 8:38 pm

Hi!

How can I test the OpenFX plugins?

I put some logger messages like this:
Code: Select all
fprintf(stderr, "This is a logger message\n");

But I don't know where I could read them.

Where can I find the stderr output?? or how can I add messages into the logger?

En example using this command
Code: Select all
Resolve.exe 1>stdout.txt 2>other.out

With this plugin lines
Code: Select all
std::cout << "OFX Plugin logger cout" << std::endl;
fprintf(stdout, "OFX Plugin logger stdout\n");
fprintf(stderr, "OFX Plugin logger stderr\n");
std::cerr << "OFX Plugin logger cerr" << std::endl;


I get:
Code: Select all
OFX Plugin logger cout
OFX Plugin logger stdout


But I want my output message to be logged by the Davinci Resolve Logger, Instead of it I get:
Code: Select all
ActCCMessage Already in Table: Code= c005, Mode= 13, Level=  1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= c006, Mode= 13, Level=  1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= c007, Mode= 13, Level=  1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= 2282, Mode=  0, Level=  0, CmdKey= 8, Option= 0
PnlMsgActionStringAdapter Already in Table: Code= 615e, Mode=  0, Level=  0, CmdKey= -1, Option= 0
16.2 (#054) Windows/MSVC
Main thread starts: 00004BE8
[0x00004be8] | Undefined            | INFO  | 2020-03-18 11:06:43,873 | --------------------------------------------------------------------------------
[0x00004be8] | Undefined            | INFO  | 2020-03-18 11:06:43,873 | Loaded log config from C:\Users\USERCOOL\AppData\Roaming\Blackmagic Design\DaVinci Resolve\Preferences\log-conf.xml
[0x00004be8] | Undefined            | INFO  | 2020-03-18 11:06:43,874 | --------------------------------------------------------------------------------

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 2 guests