OpFlex Framework 1.7.0
StdOutLogHandler.h
Go to the documentation of this file.
1/* -*- C++ -*-; c-basic-offset: 4; indent-tabs-mode: nil */
6/*
7 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
8 *
9 * This program and the accompanying materials are made available under the
10 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
11 * and is available at http://www.eclipse.org/legal/epl-v10.html
12 */
13
14#ifndef OPFLEX_LOGGING_STDOUTLOGHANDLER_H
15#define OPFLEX_LOGGING_STDOUTLOGHANDLER_H
16
18
19namespace opflex {
20namespace logging {
21
26public:
34 __attribute__((no_instrument_function));
35 virtual ~StdOutLogHandler()
36 __attribute__((no_instrument_function));
37
38 /* see OFLogHandler */
39 virtual void handleMessage(const std::string& file,
40 const int line,
41 const std::string& function,
42 const Level level,
43 const std::string& message)
44 __attribute__((no_instrument_function));
45};
46
47} /* namespace logging */
48} /* namespace opflex */
49
50#endif /* OPFLEX_LOGGING_STDOUTLOGHANDLER_H */
Interface definition file for OFLogHandler.
virtual void handleMessage(const std::string &file, const int line, const std::string &function, const Level level, const std::string &message) __attribute__((no_instrument_function))
Process a single log message.
StdOutLogHandler(Level logLevel) __attribute__((no_instrument_function))
Allocate a log handler that will log any messages with equal or greater severity than the specified l...
OFLogHandler(Level logLevel) __attribute__((no_instrument_function))
Allocate a log handler that will log any messages with equal or greater severity than the specified l...
Level
Log levels for OpFlex framework logging.
Definition OFLogHandler.h:58