Back to index

salome-kernel  6.5.0
Public Member Functions
SALOME_Logger::Logger Interface Reference

interface to use the SALOME logger More...

import "Logger.idl";

List of all members.

Public Member Functions

oneway void putMessage (in string message)
 put message into one special place for all servers using SALOME logger
void ping ()
 check if the logger is running
void shutdown ()
 shutdown the logger server

Detailed Description

interface to use the SALOME logger

Definition at line 39 of file Logger.idl.


Member Function Documentation

void Logger::ping ( )

check if the logger is running

Definition at line 78 of file SALOME_Logger_Server.cxx.

{
  //cout<<" Logger::ping() pid "<< getpid()<<endl;
}
void Logger::putMessage ( in string  message)

put message into one special place for all servers using SALOME logger

Parameters:
messagethe message to send

Definition at line 67 of file SALOME_Logger_Server.cxx.

{
  myLock.lock();
  if (m_putIntoFile)

        m_outputFile << message << std::flush;
  else
    std::cout << message;
  myLock.unlock();
}

shutdown the logger server


The documentation for this interface was generated from the following files: