version 1.55, 2007/09/04 05:27:26
|
version 1.55.2.2, 2007/09/14 21:48:54
|
|
|
}; | }; |
static const char* lockFileName = "PegasusLog.lock"; | static const char* lockFileName = "PegasusLog.lock"; |
| |
|
#if defined(PEGASUS_OS_VXWORKS) && defined(log) |
|
# undef log |
|
#endif |
| |
/* _constructFileName prepares the absolute file name from homeDirectory | /* _constructFileName prepares the absolute file name from homeDirectory |
and fileName. | and fileName. |
|
|
Uint32 logLevel, | Uint32 logLevel, |
const String localizedMsg) | const String localizedMsg) |
{ | { |
|
#if defined(PEGASUS_OS_VXWORKS) |
|
cout << "LOGGER: " << localizedMsg << endl; |
|
#endif |
|
|
#if defined(PEGASUS_USE_SYSLOGS) | #if defined(PEGASUS_USE_SYSLOGS) |
| |
// Log the message | // Log the message |