A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/syslog_8hpp_source.html below:

NCBI C++ ToolKit: include/corelib/syslog.hpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

1 #ifndef CORELIB___SYSLOG__HPP 2 #define CORELIB___SYSLOG__HPP 53

fNoOverride = 0x40000000,

54

fCopyToStderr = 0x20000000,

55

fFallBackToConsole = 0x10000000,

56

fIncludePID = 0x08000000,

57

fConnectNow = 0x04000000,

58

fNoChildWait = 0x02000000,

59

fAllFlags = 0x7e000000

99

EFacility default_facility = eDefaultFacility);

100  CSysLog

(

const string

& ident, TFlags

flags

,

int

default_facility);

104  void Post

(

const string

& message, EPriority priority,

105

EFacility facility = eDefaultFacility);

106  void Post

(

const string

& message, EPriority priority,

int

facility);

108  void

HonorRegistrySettings(

const IRegistry

* reg = 0);

114  static int

x_TranslateFlags (TFlags

flags

);

115  int

x_TranslateFacility(EFacility facility);

117  void

x_Connect(

void

);

virtual void Post(const SDiagMessage &mess)=0

Post message to handler.

static CSysLog * sm_Current

static const char * kLogName_Syslog

string GetLogName(void)

Get current diag posts destination.

CSysLog CSysLogDiagHandler

DECLARE_CLASS_STATIC_MUTEX(sm_Mutex)

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

#define NCBI_XNCBI_EXPORT

Defines NCBI C++ diagnostic APIs, classes, and macros.

Multi-threading – mutexes; rw-locks; semaphore.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4