Changeset 105:43a4a27845da in xplra


Ignore:
Timestamp:
12/15/22 19:16:44 (17 months ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
hg-Phase:
(<MercurialRepository 3 'hg:/home/ivaradi/xplane/hg/xplra' '/'>, 'public')
Message:

The VSCPL logger is given a function to log into X-Plane's log.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/plugin/src/xplra/plugin.cc

    r46 r105  
    3535#include <hu/varadiistvan/xplcommon/Util.h>
    3636#include <hu/varadiistvan/scpl/config.h>
     37#include <hu/varadiistvan/scpl/Log.h>
    3738
    3839#include <XPLMDefs.h>
     
    5556using hu::varadiistvan::xplcommon::Util;
    5657
     58using hu::varadiistvan::scpl::Log;
     59
    5760//------------------------------------------------------------------------------
    5861
     
    7275                            char* outDescription)
    7376{
     77    Log::registerFunction(&Util::debug);
    7478    Util::debug("hu.varadiistvan.xplra called\n");
    7579
Note: See TracChangeset for help on using the changeset viewer.