strusTrace  0.17
traceproc_std.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2014 Patrick P. Frey
3  *
4  * This Source Code Form is subject to the terms of the Mozilla Public
5  * License, v. 2.0. If a copy of the MPL was not distributed with this
6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7  */
10 #ifndef _STRUS_TRACE_PROC_STANDARD_LIB_HPP_INCLUDED
11 #define _STRUS_TRACE_PROC_STANDARD_LIB_HPP_INCLUDED
12 #include <string>
13 
15 namespace strus {
16 
18 class ErrorBufferInterface;
20 class TraceLoggerInterface;
21 
26 TraceLoggerInterface* createTraceLogger_json( const std::string& config, ErrorBufferInterface* errorhnd);
27 
32 TraceLoggerInterface* createTraceLogger_dump( const std::string& config, ErrorBufferInterface* errorhnd);
33 
38 TraceLoggerInterface* createTraceLogger_breakpoint( const std::string& config, ErrorBufferInterface* errorhnd);
39 
44 TraceLoggerInterface* createTraceLogger_count( const std::string& config, ErrorBufferInterface* errorhnd);
45 
46 }//namespace
47 #endif
48 
TraceLoggerInterface * createTraceLogger_json(const std::string &config, ErrorBufferInterface *errorhnd)
Create an interface to the trace logger creating a call tree representation in JSON.
TraceLoggerInterface * createTraceLogger_breakpoint(const std::string &config, ErrorBufferInterface *errorhnd)
Create an interface to the trace logger than enables you to set debugger breakpoints on specific meth...
TraceLoggerInterface * createTraceLogger_dump(const std::string &config, ErrorBufferInterface *errorhnd)
Create an interface to the trace logger writing a trace immediately to stdout or file.
TraceLoggerInterface * createTraceLogger_count(const std::string &config, ErrorBufferInterface *errorhnd)
Create an interface to the trace logger counting method call events (with the possibility to group by...