Logger.
More...
#include <Logger.h>
List of all members.
Public Member Functions |
| | CLogger (const std::string &fileName, bool createNew=true, LOG_LEVEL logLevel=LOG_LEVEL_INFO) |
| | Constructor.
|
| virtual | ~CLogger () |
| | Destructor.
|
| void | SetLogLevel (LOG_LEVEL logLevel) |
| | Sets a log level.
|
| LOG_LEVEL | GetLogLevel () |
| | Gets the log level.
|
| std::string | GetFilename () |
| | Gets the filename.
|
| void | Debug (const std::string &s) |
| | Debugs.
|
| void | Error (const std::string &s) |
| | Errors.
|
| void | Warning (const std::string &s) |
| | Warnings.
|
| void | Info (const std::string &s) |
| | Infoes.
|
| void | Debug (int s) |
| | Debugs.
|
| void | Error (int s) |
| | Errors.
|
| void | Warning (int s) |
| | Warnings.
|
| void | Info (int s) |
| | Infoes.
|
| void | Debug (HRESULT s) |
| | Debugs.
|
| void | Error (HRESULT s) |
| | Errors.
|
| void | Warning (HRESULT s) |
| | Warnings.
|
| void | Info (HRESULT s) |
| | Infoes.
|
Protected Member Functions |
| virtual void | WriteLog (const std::string &s) |
| | Writes a log.
|
Detailed Description
Logger.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
Constructor & Destructor Documentation
Constructor.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
| fileName | Filename of the file. |
| createNew | true to create new. |
| logLevel | The log level. |
Destructor.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
Member Function Documentation
Debugs.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
Debugs.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
Debugs.
- Author:
- Christian Knobloch
- Date:
- 01.06.2010
- Parameters:
-
Errors.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
Errors.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
Errors.
- Author:
- Christian Knobloch
- Date:
- 01.06.2010
- Parameters:
-
Gets the filename.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Returns:
- The filename.
Gets the log level.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Returns:
- The log level.
Infoes.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
Infoes.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
Infoes.
- Author:
- Christian Knobloch
- Date:
- 01.06.2010
- Parameters:
-
Sets a log level.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
Warnings.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
Warnings.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
Warnings.
- Author:
- Christian Knobloch
- Date:
- 01.06.2010
- Parameters:
-
Writes a log.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
The documentation for this class was generated from the following files:
- D:/source/c++/Programme/sally/sally/sallyAPI/Logger.h
- D:/source/c++/Programme/sally/sally/sallyAPI/Logger.cpp