62#ifndef LASS_GUARDIAN_OF_INCLUSION_IO_LOGGER_H
63#define LASS_GUARDIAN_OF_INCLUSION_IO_LOGGER_H
69#if LASS_COMPILER_TYPE == LASS_COMPILER_TYPE_MSVC
71# pragma warning(disable: 4251)
90 typedef ProxyOStream::TMask TMask;
93 Logger(
const std::string& iLogFile, LogMode iLogMode = lmClear);
104 typedef std::list<ProxyOStream*> TProxyList;
106 void openLog(
const std::string& iLogFile, LogMode iLogMode = lmClear);
108 std::ofstream logFile_;
109 TProxyList proxyList_;
117#if LASS_COMPILER_TYPE == LASS_COMPILER_TYPE_MSVC
void setFilter(ProxyOStream *iProxy, TMask iFilter)
Set filter between proxy and logger.
void unsubscribeTo(ProxyOStream *iProxy)
Unsubscribe this logger to a proxy stream.
TMask filter(ProxyOStream *iProxy)
return the filter between proxy and logger
void subscribeTo(ProxyOStream *iProxy, TMask iFilter=ProxyOStream::acceptAll)
Subscribe this logger to a proxy stream and set the filter on it.
Logger(const std::string &iLogFile, LogMode iLogMode=lmClear)
Default constructor for the sake of static library.
A proxy output stream can distribute output to multiple destination streams.
#define LASS_DLL
DLL interface: import or export symbols?
streams, binary streams, vrmlstreams, ...
Library for Assembled Shared Sources.