AudioManager
7.6.6
Native Application Runtime Environment
|
SPDX license identifier: MPL-2.0. More...
#include <iostream>
#include <iosfwd>
#include <stdio.h>
#include <stdexcept>
#include <fstream>
#include <stdlib.h>
#include <sstream>
#include <assert.h>
Go to the source code of this file.
Classes | |
class | CAmLog |
Macros | |
#define | DEFAULT_LOG_FOLDER "/tmp/" |
Implements a basic logging mechanism that can be used to print debug information into a file or to the console. More... | |
#define | DEFAULT_LOGFILE_PREFIX "am_dump_" |
#define | DEFAULT_LOGFILE_EXT ".log" |
#define | DEL(aPointer) delete aPointer, aPointer = NULL; |
#define | CAmLogger (*CAmLog::getDefaultLog()) |
Enumerations | |
enum | eCAmLogType { eCAmLogNone = 0, eCAmLogStdout = 1, eCAmLogFile = 2 } |
SPDX license identifier: MPL-2.0.
Copyright (C) 2012, BMW AG
This file is part of GENIVI Project AudioManager.
Contributions are licensed to the GENIVI Alliance under one or more Contribution License Agreements.
For further information see http://www.genivi.org/.
Definition in file CAmLog.h.
#define CAmLogger (*CAmLog::getDefaultLog()) |
#define DEFAULT_LOG_FOLDER "/tmp/" |
Implements a basic logging mechanism that can be used to print debug information into a file or to the console.
It can be used either as singleton through the appropriate method getDefaultLog() or as independent instantiated object. The default initializer sets the console as output for newly created objects. Example: CAmLogger << "Text"; //to print out through the singleton object directly to the console
enum eCAmLogType |