summaryrefslogtreecommitdiff
path: root/extensions/source/logging
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/logging')
-rw-r--r--extensions/source/logging/consolehandler.cxx16
-rw-r--r--extensions/source/logging/filehandler.cxx16
-rw-r--r--extensions/source/logging/log_module.cxx8
-rw-r--r--extensions/source/logging/log_module.hxx8
-rw-r--r--extensions/source/logging/log_services.cxx8
-rw-r--r--extensions/source/logging/loggerconfig.cxx8
-rw-r--r--extensions/source/logging/loggerconfig.hxx8
-rw-r--r--extensions/source/logging/loghandler.cxx12
-rw-r--r--extensions/source/logging/loghandler.hxx12
-rw-r--r--extensions/source/logging/logrecord.cxx12
-rw-r--r--extensions/source/logging/logrecord.hxx12
-rw-r--r--extensions/source/logging/methodguard.hxx12
-rw-r--r--extensions/source/logging/plaintextformatter.cxx16
13 files changed, 74 insertions, 74 deletions
diff --git a/extensions/source/logging/consolehandler.cxx b/extensions/source/logging/consolehandler.cxx
index e9341e51956c..cd88ed1055fe 100644
--- a/extensions/source/logging/consolehandler.cxx
+++ b/extensions/source/logging/consolehandler.cxx
@@ -36,10 +36,10 @@
#include <stdio.h>
-//........................................................................
+
namespace logging
{
-//........................................................................
+
using ::com::sun::star::logging::XConsoleHandler;
using ::com::sun::star::lang::XServiceInfo;
@@ -60,9 +60,9 @@ namespace logging
namespace LogLevel = ::com::sun::star::logging::LogLevel;
- //====================================================================
+
//= ConsoleHandler - declaration
- //====================================================================
+
typedef ::cppu::WeakComponentImplHelper3 < XConsoleHandler
, XServiceInfo
@@ -116,9 +116,9 @@ namespace logging
void leaveMethod( MethodGuard::Access );
};
- //====================================================================
+
//= ConsoleHandler - implementation
- //====================================================================
+
ConsoleHandler::ConsoleHandler( const Reference< XComponentContext >& _rxContext )
:ConsoleHandler_Base( m_aMutex )
@@ -312,8 +312,8 @@ namespace logging
static OAutoRegistration< ConsoleHandler > aAutoRegistration;
}
-//........................................................................
+
} // namespace logging
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/logging/filehandler.cxx b/extensions/source/logging/filehandler.cxx
index 928fb71d8d7e..4b4f05eda1ec 100644
--- a/extensions/source/logging/filehandler.cxx
+++ b/extensions/source/logging/filehandler.cxx
@@ -43,10 +43,10 @@
#include <memory>
-//........................................................................
+
namespace logging
{
-//........................................................................
+
using ::com::sun::star::uno::Reference;
using ::com::sun::star::logging::LogRecord;
@@ -67,9 +67,9 @@ namespace logging
using ::com::sun::star::util::XStringSubstitution;
using ::com::sun::star::beans::NamedValue;
- //====================================================================
+
//= FileHandler - declaration
- //====================================================================
+
typedef ::cppu::WeakComponentImplHelper3 < XLogHandler
, XServiceInfo
, XInitialization
@@ -144,9 +144,9 @@ namespace logging
void impl_doStringsubstitution_nothrow( OUString& _inout_rURL );
};
- //====================================================================
+
//= FileHandler - implementation
- //====================================================================
+
FileHandler::FileHandler( const Reference< XComponentContext >& _rxContext )
:FileHandler_Base( m_aMutex )
@@ -414,8 +414,8 @@ namespace logging
static OAutoRegistration< FileHandler > aAutoRegistration;
}
-//........................................................................
+
} // namespace logging
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/logging/log_module.cxx b/extensions/source/logging/log_module.cxx
index a63076e7b12e..fac6e53214f6 100644
--- a/extensions/source/logging/log_module.cxx
+++ b/extensions/source/logging/log_module.cxx
@@ -20,10 +20,10 @@
#include "log_module.hxx"
#include <rtl/instance.hxx>
-//........................................................................
+
namespace logging
{
-//........................................................................
+
struct LogModuleCreator
{
@@ -44,8 +44,8 @@ namespace logging
return theLogModuleInstance::get().m_aLogModule;
}
-//........................................................................
+
} // namespace logging
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/logging/log_module.hxx b/extensions/source/logging/log_module.hxx
index 9ddcfaf63f89..6981a90edc89 100644
--- a/extensions/source/logging/log_module.hxx
+++ b/extensions/source/logging/log_module.hxx
@@ -22,10 +22,10 @@
#include <comphelper/componentmodule.hxx>
-//........................................................................
+
namespace logging
{
-//........................................................................
+
class LogModule : public ::comphelper::OModule
{
@@ -77,9 +77,9 @@ namespace logging
}
};
-//........................................................................
+
} // namespace logging
-//........................................................................
+
#endif // EXTENSIONS_LOG_MODULE_HXX
diff --git a/extensions/source/logging/log_services.cxx b/extensions/source/logging/log_services.cxx
index 35eb937f0e0c..74231ba6622a 100644
--- a/extensions/source/logging/log_services.cxx
+++ b/extensions/source/logging/log_services.cxx
@@ -19,10 +19,10 @@
#include "log_module.hxx"
-//........................................................................
+
namespace logging
{
-//........................................................................
+
extern void createRegistryInfo_LoggerPool();
@@ -41,9 +41,9 @@ namespace logging
createRegistryInfo_CsvFormatter();
}
-//........................................................................
+
} // namespace logging
-//........................................................................
+
extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL log_component_getFactory(
const sal_Char* pImplementationName, SAL_UNUSED_PARAMETER void*,
diff --git a/extensions/source/logging/loggerconfig.cxx b/extensions/source/logging/loggerconfig.cxx
index dac25367497d..2c9b462c2464 100644
--- a/extensions/source/logging/loggerconfig.cxx
+++ b/extensions/source/logging/loggerconfig.cxx
@@ -42,10 +42,10 @@
#include <vector>
#include <sal/macros.h>
-//........................................................................
+
namespace logging
{
-//........................................................................
+
using ::com::sun::star::uno::Reference;
using ::com::sun::star::logging::XLogger;
@@ -305,8 +305,8 @@ namespace logging
}
}
-//........................................................................
+
} // namespace logging
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/logging/loggerconfig.hxx b/extensions/source/logging/loggerconfig.hxx
index 5b7c9085db64..f43c995a5c98 100644
--- a/extensions/source/logging/loggerconfig.hxx
+++ b/extensions/source/logging/loggerconfig.hxx
@@ -23,10 +23,10 @@
#include <com/sun/star/logging/XLogger.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
-//........................................................................
+
namespace logging
{
-//........................................................................
+
/** initializes the given logger from the configuration
@@ -44,9 +44,9 @@ namespace logging
const ::com::sun::star::uno::Reference< ::com::sun::star::logging::XLogger >& _rxLogger
);
-//........................................................................
+
} // namespace logging
-//........................................................................
+
#endif // EXTENSIONS_LOGGERCONFIG_HXX
diff --git a/extensions/source/logging/loghandler.cxx b/extensions/source/logging/loghandler.cxx
index eac7d59eda18..2547f87468ee 100644
--- a/extensions/source/logging/loghandler.cxx
+++ b/extensions/source/logging/loghandler.cxx
@@ -28,10 +28,10 @@
#include <tools/diagnose_ex.h>
#include <rtl/tencinfo.h>
-//........................................................................
+
namespace logging
{
-//........................................................................
+
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::XComponentContext;
@@ -46,9 +46,9 @@ namespace logging
namespace LogLevel = ::com::sun::star::logging::LogLevel;
- //====================================================================
+
//= LogHandlerHelper
- //====================================================================
+
LogHandlerHelper::LogHandlerHelper( const Reference< XComponentContext >& _rxContext, ::osl::Mutex& _rMutex, ::cppu::OBroadcastHelper& _rBHelper )
:m_eEncoding( RTL_TEXTENCODING_UTF8 )
@@ -182,8 +182,8 @@ namespace logging
return false;
}
-//........................................................................
+
} // namespace logging
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/logging/loghandler.hxx b/extensions/source/logging/loghandler.hxx
index d2d2a4936b7e..422b777bd003 100644
--- a/extensions/source/logging/loghandler.hxx
+++ b/extensions/source/logging/loghandler.hxx
@@ -28,14 +28,14 @@
#include <cppuhelper/interfacecontainer.hxx>
#include <rtl/string.hxx>
-//........................................................................
+
namespace logging
{
-//........................................................................
- //====================================================================
+
+
//=
- //====================================================================
+
class LogHandlerHelper
{
private:
@@ -137,9 +137,9 @@ namespace logging
void initFromSettings( const ::comphelper::NamedValueCollection& _rSettings );
};
-//........................................................................
+
} // namespace logging
-//........................................................................
+
#endif // LOGHANDLER_HXX
diff --git a/extensions/source/logging/logrecord.cxx b/extensions/source/logging/logrecord.cxx
index b7ee720452e9..a8ebc64dbb17 100644
--- a/extensions/source/logging/logrecord.cxx
+++ b/extensions/source/logging/logrecord.cxx
@@ -24,17 +24,17 @@
#include <osl/thread.hxx>
#include <osl/diagnose.h>
-//........................................................................
+
namespace logging
{
-//........................................................................
+
using ::com::sun::star::logging::LogRecord;
using ::com::sun::star::util::DateTime;
- //====================================================================
+
//= helper
- //====================================================================
+
namespace
{
@@ -83,8 +83,8 @@ namespace logging
);
}
-//........................................................................
+
} // namespace logging
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/logging/logrecord.hxx b/extensions/source/logging/logrecord.hxx
index 772969371077..20389a085bf6 100644
--- a/extensions/source/logging/logrecord.hxx
+++ b/extensions/source/logging/logrecord.hxx
@@ -24,14 +24,14 @@
#include <osl/interlck.h>
-//........................................................................
+
namespace logging
{
-//........................................................................
- //====================================================================
+
+
//= helper
- //====================================================================
+
::com::sun::star::logging::LogRecord createLogRecord(
const OUString& _rLoggerName,
const OUString& _rClassName,
@@ -51,9 +51,9 @@ namespace logging
return createLogRecord( _rLoggerName, OUString(), OUString(), _rMessage, _nLogLevel, _nEventNumber );
}
-//........................................................................
+
} // namespace logging
-//........................................................................
+
#endif // LOGRECORD_HXX
diff --git a/extensions/source/logging/methodguard.hxx b/extensions/source/logging/methodguard.hxx
index aa5a9474bfbe..ce2d29cf707f 100644
--- a/extensions/source/logging/methodguard.hxx
+++ b/extensions/source/logging/methodguard.hxx
@@ -20,14 +20,14 @@
#ifndef EXTENSIONS_METHODGUARD_HXX
#define EXTENSIONS_METHODGUARD_HXX
-//........................................................................
+
namespace logging
{
-//........................................................................
- //====================================================================
+
+
//= ComponentMethodGuard
- //====================================================================
+
template < class COMPONENT >
class ComponentMethodGuard
{
@@ -54,9 +54,9 @@ namespace logging
}
};
-//........................................................................
+
} // namespace logging
-//........................................................................
+
#endif // EXTENSIONS_METHODGUARD_HXX
diff --git a/extensions/source/logging/plaintextformatter.cxx b/extensions/source/logging/plaintextformatter.cxx
index f3420f7cd0e6..be33e2a4183c 100644
--- a/extensions/source/logging/plaintextformatter.cxx
+++ b/extensions/source/logging/plaintextformatter.cxx
@@ -33,10 +33,10 @@
#include <osl/thread.h>
-//........................................................................
+
namespace logging
{
-//........................................................................
+
using ::com::sun::star::logging::XLogFormatter;
using ::com::sun::star::uno::XComponentContext;
@@ -47,9 +47,9 @@ namespace logging
using ::com::sun::star::logging::LogRecord;
using ::com::sun::star::uno::XInterface;
- //====================================================================
+
//= PlainTextFormatter - declaration
- //====================================================================
+
typedef ::cppu::WeakImplHelper2 < XLogFormatter
, XServiceInfo
> PlainTextFormatter_Base;
@@ -76,9 +76,9 @@ namespace logging
static Reference< XInterface > Create( const Reference< XComponentContext >& _rxContext );
};
- //====================================================================
+
//= PlainTextFormatter - implementation
- //====================================================================
+
PlainTextFormatter::PlainTextFormatter()
{
@@ -194,8 +194,8 @@ namespace logging
static OAutoRegistration< PlainTextFormatter > aAutoRegistration;
}
-//........................................................................
+
} // namespace logging
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */