Ignore:
Timestamp:
08/05/10 14:40:38 (14 years ago)
Author:
Malte Marquarding
Message:

Ticket #193: the rcParamsverbose? flag is only used in standard asap cli mode. Otherwise log messages are always send to the logger and one needs to call asaplog.disable()/asaplog.enable() to controls this. I have also added the function name as the log origin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/AsapLogSink.cpp

    r1819 r1859  
    2121
    2222  void AsapLogSink::postMessage(const std::string& msg,
    23                                 const std::string& location,
    24                                 const std::string& priority)
     23                                const std::string& priority,
     24                                const std::string& origin)
    2525  {
    2626    LogMessage::Priority p;
     
    3232      p = LogMessage::SEVERE;
    3333    }
    34     LogMessage message(msg, LogOrigin(location), p);
     34    LogMessage message(msg, LogOrigin(origin), p);
    3535
    3636    MemoryLogSink::postLocally(message);
Note: See TracChangeset for help on using the changeset viewer.