| 
    FFmpegfs Fuse Multi Media Filesystem 2.16
    
   | 
 
Log facilities implementation. More...
#include "logging.h"#include "ffmpegfs.h"#include <sys/time.h>#include <cstdarg>#include <iostream>#include <syslog.h>#include <ostream>
Go to the source code of this file.
Macros | |
| #define | COLOUR_BLACK "\033[0;30m" | 
| ANSI ESC for black foreground.  More... | |
| #define | COLOUR_DARK_GRAY "\033[1;30m" | 
| ANSI ESC for dark gray foreground.  More... | |
| #define | COLOUR_LIGHT_GRAY "\033[0;37m" | 
| ANSI ESC for light gray foreground.  More... | |
| #define | COLOUR_RED "\033[0;31m" | 
| ANSI ESC for red foreground.  More... | |
| #define | COLOUR_LIGHT_RED "\033[1;31m" | 
| ANSI ESC for light red foreground.  More... | |
| #define | COLOUR_GREEN "\033[0;32m" | 
| ANSI ESC for green foreground.  More... | |
| #define | COLOUR_LIGHT_GREEN "\033[1;32m" | 
| ANSI ESC for light green foreground.  More... | |
| #define | COLOUR_BROWN_ORANGE "\033[0;33m" | 
| ANSI ESC for brown orange foreground.  More... | |
| #define | COLOUR_YELLOW "\033[1;33m" | 
| ANSI ESC for yellow foreground.  More... | |
| #define | COLOUR_BLUE "\033[0;34m" | 
| ANSI ESC for blue foreground.  More... | |
| #define | COLOUR_LIGHT_BLUE "\033[1;34m" | 
| ANSI ESC for light blue foreground.  More... | |
| #define | COLOUR_PURPLE "\033[0;35m" | 
| ANSI ESC for purple foreground.  More... | |
| #define | COLOUR_LIGHT_PURPLE "\033[1;35m" | 
| ANSI ESC for light purple foreground.  More... | |
| #define | COLOUR_CYAN "\033[0;36m" | 
| ANSI ESC for cyan foreground.  More... | |
| #define | COLOUR_LIGHT_CYAN "\033[1;36m" | 
| ANSI ESC for light cyan foreground.  More... | |
| #define | COLOUR_WHITE "\033[1;37m" | 
| ANSI ESC for white foreground.  More... | |
| #define | COLOUR_RESET "\033[0m" | 
| ANSI ESC to reset the foreground colour.  More... | |
Functions | |
| Logging::Logger | Log (Logging::LOGLEVEL loglevel, const std::string &filename) | 
Log facilities implementation.
Definition in file logging.cc.
| #define COLOUR_BLACK "\033[0;30m" | 
ANSI ESC for black foreground.
Definition at line 44 of file logging.cc.
| #define COLOUR_BLUE "\033[0;34m" | 
ANSI ESC for blue foreground.
Definition at line 53 of file logging.cc.
| #define COLOUR_BROWN_ORANGE "\033[0;33m" | 
ANSI ESC for brown orange foreground.
Definition at line 51 of file logging.cc.
| #define COLOUR_CYAN "\033[0;36m" | 
ANSI ESC for cyan foreground.
Definition at line 57 of file logging.cc.
| #define COLOUR_DARK_GRAY "\033[1;30m" | 
ANSI ESC for dark gray foreground.
Definition at line 45 of file logging.cc.
| #define COLOUR_GREEN "\033[0;32m" | 
ANSI ESC for green foreground.
Definition at line 49 of file logging.cc.
| #define COLOUR_LIGHT_BLUE "\033[1;34m" | 
ANSI ESC for light blue foreground.
Definition at line 54 of file logging.cc.
| #define COLOUR_LIGHT_CYAN "\033[1;36m" | 
ANSI ESC for light cyan foreground.
Definition at line 58 of file logging.cc.
| #define COLOUR_LIGHT_GRAY "\033[0;37m" | 
ANSI ESC for light gray foreground.
Definition at line 46 of file logging.cc.
| #define COLOUR_LIGHT_GREEN "\033[1;32m" | 
ANSI ESC for light green foreground.
Definition at line 50 of file logging.cc.
| #define COLOUR_LIGHT_PURPLE "\033[1;35m" | 
ANSI ESC for light purple foreground.
Definition at line 56 of file logging.cc.
| #define COLOUR_LIGHT_RED "\033[1;31m" | 
ANSI ESC for light red foreground.
Definition at line 48 of file logging.cc.
| #define COLOUR_PURPLE "\033[0;35m" | 
ANSI ESC for purple foreground.
Definition at line 55 of file logging.cc.
| #define COLOUR_RED "\033[0;31m" | 
ANSI ESC for red foreground.
Definition at line 47 of file logging.cc.
| #define COLOUR_RESET "\033[0m" | 
ANSI ESC to reset the foreground colour.
Definition at line 60 of file logging.cc.
| #define COLOUR_WHITE "\033[1;37m" | 
ANSI ESC for white foreground.
Definition at line 59 of file logging.cc.
| #define COLOUR_YELLOW "\033[1;33m" | 
ANSI ESC for yellow foreground.
Definition at line 52 of file logging.cc.
| Logging::Logger Log | ( | Logging::LOGLEVEL | loglevel, | 
| const std::string & | filename | ||
| ) | 
| [in] | loglevel | - The level of log this message is for. | 
| [in] | filename | - Name of the file for which this log entry was written. May be empty. | 
Definition at line 205 of file logging.cc.