Overview   Class List   Class Hierarchy   Class Members   Functions & Constants   Defines   Header Files  

log.hpp File Reference


Detailed Description

. Contains LogFacility a logging facility for (Annotator) users

-----------------------------------------------------------------------------

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

-----------------------------------------------------------------------------

Description:

-----------------------------------------------------------------------------

6/24/1999 Initial creation 7/19/1999 logError(const ErrorInfo & crclErrorInfo) added

--------------------------------------------------------------------------


Namespaces

namespace  uima

Classes

class  uima::LogStream
 The class LogStream logs user-related information which would otherwise be hard to concatenate into a single string. More...
class  uima::Logger
 This defines the interface for Loggers. More...
class  uima::FileLogger
 This class is the built in Logger that writes log message to a file. More...
class  uima::LogFacility
 The class LogFacility logs user-related information for debugging or error recording purposes. More...

Defines

#define UIMA_LOG_STREAM(logFacility, logEntryType, args)
 Use this define to write a single statement log entry using streams.
#define UIMA_LOG_STREAM_MESSAGE(logFacility, args)   UIMA_LOG_STREAM(logFacility, LogStream::EnMessage, args);
 Use this define to write a single statement message log entry using streams.
#define UIMA_LOG_STREAM_WARNING(logFacility, args)   UIMA_LOG_STREAM(logFacility, LogStream::EnWarning, args);
 Use this define to write a single statement warning log entry using streams.
#define UIMA_LOG_STREAM_ERROR(logFacility, args)   UIMA_LOG_STREAM(logFacility, LogStream::EnError, args);
 Use this define to write a single statement error entry using streams.


Define Documentation

#define UIMA_LOG_STREAM logFacility,
logEntryType,
args   ) 
 

Value:

{                                                          \
     LogStream & _l = logFacility.getLogStream(logEntryType); \
     _l << args;                                              \
     _l.flush();                                              \
   }
Use this define to write a single statement log entry using streams.

See also:
LogFacility

#define UIMA_LOG_STREAM_MESSAGE logFacility,
args   )     UIMA_LOG_STREAM(logFacility, LogStream::EnMessage, args);
 

Use this define to write a single statement message log entry using streams.

See also:
LogFacility

#define UIMA_LOG_STREAM_WARNING logFacility,
args   )     UIMA_LOG_STREAM(logFacility, LogStream::EnWarning, args);
 

Use this define to write a single statement warning log entry using streams.

See also:
LogFacility

#define UIMA_LOG_STREAM_ERROR logFacility,
args   )     UIMA_LOG_STREAM(logFacility, LogStream::EnError, args);
 

Use this define to write a single statement error entry using streams.

See also:
LogFacility


Generated on Mon Oct 1 16:04:12 2012 for UIMACPP API by  doxygen 1.3.9.1