PageRenderTime 31ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/indra/llcommon/lllog.h

https://bitbucket.org/lindenlab/viewer-beta/
C++ Header | 52 lines | 17 code | 8 blank | 27 comment | 0 complexity | 612c601033d8bffd8d82649f5363fa84 MD5 | raw file
Possible License(s): LGPL-2.1
  1. /**
  2. * @file lllog.h
  3. * @author Don
  4. * @date 2007-11-27
  5. * @brief Class to log messages to syslog for streambase to process.
  6. *
  7. * $LicenseInfo:firstyear=2007&license=viewerlgpl$
  8. * Second Life Viewer Source Code
  9. * Copyright (C) 2010, Linden Research, Inc.
  10. *
  11. * This library is free software; you can redistribute it and/or
  12. * modify it under the terms of the GNU Lesser General Public
  13. * License as published by the Free Software Foundation;
  14. * version 2.1 of the License only.
  15. *
  16. * This library is distributed in the hope that it will be useful,
  17. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  19. * Lesser General Public License for more details.
  20. *
  21. * You should have received a copy of the GNU Lesser General Public
  22. * License along with this library; if not, write to the Free Software
  23. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  24. *
  25. * Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
  26. * $/LicenseInfo$
  27. */
  28. #ifndef LL_LLLOG_H
  29. #define LL_LLLOG_H
  30. #include <string>
  31. class LLLogImpl;
  32. class LLApp;
  33. class LLSD;
  34. class LL_COMMON_API LLLog
  35. {
  36. public:
  37. LLLog(LLApp* app);
  38. virtual ~LLLog();
  39. virtual void log(const std::string &message, LLSD& info);
  40. virtual bool useLegacyLogMessage(const std::string &message);
  41. private:
  42. LLLogImpl* mImpl;
  43. };
  44. #endif /* LL_LLLOG_H */