Permalink
Browse files

Formatting fixes in logging.h

  • Loading branch information...
1 parent 5b56d64 commit 970d9b15963bb82b77a71cd080fcde5c39f05720 @stuartm stuartm committed Jun 12, 2012
Showing with 8 additions and 4 deletions.
  1. +8 −4 mythtv/libs/libmythbase/logging.h
View
12 mythtv/libs/libmythbase/logging.h
@@ -31,7 +31,8 @@ typedef union {
} LoggerHandle_t;
/// \brief Base class for the various logging mechanisms
-class LoggerBase : public QObject {
+class LoggerBase : public QObject
+{
Q_OBJECT
public:
@@ -52,7 +53,8 @@ class LoggerBase : public QObject {
};
/// \brief File-based logger - used for logfiles and console
-class FileLogger : public LoggerBase {
+class FileLogger : public LoggerBase
+{
public:
FileLogger(char *filename, bool progress, int quiet);
~FileLogger();
@@ -67,7 +69,8 @@ class FileLogger : public LoggerBase {
#ifndef _WIN32
/// \brief Syslog-based logger (not available in Windows)
-class SyslogLogger : public LoggerBase {
+class SyslogLogger : public LoggerBase
+{
public:
SyslogLogger(int facility);
~SyslogLogger();
@@ -83,7 +86,8 @@ class SyslogLogger : public LoggerBase {
class DBLoggerThread;
/// \brief Database logger - logs to the MythTV database
-class DatabaseLogger : public LoggerBase {
+class DatabaseLogger : public LoggerBase
+{
friend class DBLoggerThread;
public:
DatabaseLogger(char *table);

0 comments on commit 970d9b1

Please sign in to comment.