summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Logger.idl
blob: 8f3274164c1f9f13cd055bc594b73cdb2482621a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// $Id$

interface Logger
{
  // = TITLE
  //   Used to log messages to a logging server.
  //
  // = DESCRIPTION
  //   @@ This interface is very simple-minded and can certainly be
  //   improved, e.g., by passing over more interesting logging
  //   records similar to what we do in <ACE_Log_Msg>.
  oneway void log (in string message);
  // Transmit a Log_Record to the logging server.
};

interface Logger_Factory
{
  // = TITLE
  //   Create a <Logger> of type <name>.

  Logger make_logger (in string name);
};