log_8hpp.tex 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. \hypertarget{log_8hpp}{}\section{/home/caleb/\+Sources/\+T\+T\+T\+T/filval/log.hpp File Reference}
  2. \label{log_8hpp}\index{/home/caleb/\+Sources/\+T\+T\+T\+T/filval/log.\+hpp@{/home/caleb/\+Sources/\+T\+T\+T\+T/filval/log.\+hpp}}
  3. {\ttfamily \#include $<$iostream$>$}\newline
  4. {\ttfamily \#include $<$fstream$>$}\newline
  5. {\ttfamily \#include $<$cstring$>$}\newline
  6. {\ttfamily \#include $<$map$>$}\newline
  7. Include dependency graph for log.\+hpp\+:
  8. \nopagebreak
  9. \begin{figure}[H]
  10. \begin{center}
  11. \leavevmode
  12. \includegraphics[width=338pt]{log_8hpp__incl}
  13. \end{center}
  14. \end{figure}
  15. This graph shows which files directly or indirectly include this file\+:
  16. \nopagebreak
  17. \begin{figure}[H]
  18. \begin{center}
  19. \leavevmode
  20. \includegraphics[width=350pt]{log_8hpp__dep__incl}
  21. \end{center}
  22. \end{figure}
  23. \subsection*{Classes}
  24. \begin{DoxyCompactItemize}
  25. \item
  26. class \hyperlink{classfv_1_1util_1_1Log}{fv\+::util\+::\+Log}
  27. \end{DoxyCompactItemize}
  28. \subsection*{Macros}
  29. \begin{DoxyCompactItemize}
  30. \item
  31. \hypertarget{log_8hpp_a7a89bb1dceae2baa9e85735a7cf17283}{}\label{log_8hpp_a7a89bb1dceae2baa9e85735a7cf17283}
  32. \#define {\bfseries C\+R\+I\+T\+I\+C\+AL}(x, y)~std\+::clog $<$$<$ fv\+::util\+::\+Log\+Priority\+::k\+Log\+Critical $<$$<$ \+\_\+\+\_\+\+F\+I\+L\+E\+\_\+\+\_\+ $<$$<$ \char`\"{}@L\char`\"{} $<$$<$ \+\_\+\+\_\+\+L\+I\+N\+E\+\_\+\+\_\+ $<$$<$ \char`\"{} \+:: \char`\"{} $<$$<$ x $<$$<$ std\+::flush; std\+::cout $<$$<$ \char`\"{}Errors encountered! See log file for details.\char`\"{}$<$$<$std\+::endl;exit(y)
  33. \item
  34. \hypertarget{log_8hpp_abac57baaff13f3a1ddbb0c8a193b7e32}{}\label{log_8hpp_abac57baaff13f3a1ddbb0c8a193b7e32}
  35. \#define {\bfseries E\+R\+R\+OR}(x)~std\+::clog $<$$<$ fv\+::util\+::\+Log\+Priority\+::k\+Log\+Error $<$$<$ \+\_\+\+\_\+\+F\+I\+L\+E\+\_\+\+\_\+ $<$$<$ \char`\"{}@L\char`\"{} $<$$<$ \+\_\+\+\_\+\+L\+I\+N\+E\+\_\+\+\_\+ $<$$<$ \char`\"{} \+:: \char`\"{} $<$$<$ x $<$$<$ std\+::flush
  36. \item
  37. \hypertarget{log_8hpp_a9e1796fdadec0df60e8d280ee783b85c}{}\label{log_8hpp_a9e1796fdadec0df60e8d280ee783b85c}
  38. \#define {\bfseries W\+A\+R\+N\+I\+NG}(x)~std\+::clog $<$$<$ fv\+::util\+::\+Log\+Priority\+::k\+Log\+Warning $<$$<$ x $<$$<$ std\+::flush
  39. \item
  40. \hypertarget{log_8hpp_ab7e64333eba48090f444ec9f36fd23ef}{}\label{log_8hpp_ab7e64333eba48090f444ec9f36fd23ef}
  41. \#define {\bfseries I\+N\+FO}(x)~std\+::clog $<$$<$ fv\+::util\+::\+Log\+Priority\+::k\+Log\+Info $<$$<$ x $<$$<$ std\+::flush
  42. \item
  43. \hypertarget{log_8hpp_a3dfa58b1c5c2943dd49d8aa1981d377d}{}\label{log_8hpp_a3dfa58b1c5c2943dd49d8aa1981d377d}
  44. \#define {\bfseries D\+E\+B\+UG}(x)~std\+::clog $<$$<$ fv\+::util\+::\+Log\+Priority\+::k\+Log\+Debug $<$$<$ \+\_\+\+\_\+\+F\+I\+L\+E\+\_\+\+\_\+ $<$$<$ \char`\"{}@L\char`\"{} $<$$<$ \+\_\+\+\_\+\+L\+I\+N\+E\+\_\+\+\_\+ $<$$<$ \char`\"{} \+:: \char`\"{} $<$$<$ x $<$$<$ std\+::flush
  45. \end{DoxyCompactItemize}
  46. \subsection*{Enumerations}
  47. \begin{DoxyCompactItemize}
  48. \item
  49. \hypertarget{log_8hpp_a4c2fda989ccd3be6c64516d243794851}{}\label{log_8hpp_a4c2fda989ccd3be6c64516d243794851}
  50. enum {\bfseries Log\+Priority} \{ \newline
  51. {\bfseries k\+Log\+Emergency} = 7,
  52. {\bfseries k\+Log\+Alert} = 6,
  53. {\bfseries k\+Log\+Critical} = 5,
  54. {\bfseries k\+Log\+Error} = 4,
  55. \newline
  56. {\bfseries k\+Log\+Warning} = 3,
  57. {\bfseries k\+Log\+Notice} = 2,
  58. {\bfseries k\+Log\+Info} = 1,
  59. {\bfseries k\+Log\+Debug} = 0
  60. \}
  61. \end{DoxyCompactItemize}
  62. \subsection*{Functions}
  63. \begin{DoxyCompactItemize}
  64. \item
  65. \hypertarget{log_8hpp_ae6c229c0c5644bff37cf4cfd01e1e107}{}\label{log_8hpp_ae6c229c0c5644bff37cf4cfd01e1e107}
  66. std\+::ostream \& \hyperlink{log_8hpp_ae6c229c0c5644bff37cf4cfd01e1e107}{fv\+::util\+::operator$<$$<$} (std\+::ostream \&os, const Log\+Priority \&log\+\_\+priority)
  67. \begin{DoxyCompactList}\small\item\em /see \href{http://stackoverflow.com/questions/2638654/redirect-c-stdclog-to-syslog-on-unix}{\tt http\+://stackoverflow.\+com/questions/2638654/redirect-\/c-\/stdclog-\/to-\/syslog-\/on-\/unix} \end{DoxyCompactList}\end{DoxyCompactItemize}
  68. \subsection{Detailed Description}
  69. \begin{DoxyAuthor}{Author}
  70. Caleb Fangmeier \href{mailto:caleb@fangmeier.tech}{\tt caleb@fangmeier.\+tech}
  71. \end{DoxyAuthor}
  72. \begin{DoxyVersion}{Version}
  73. 0.\+1
  74. \end{DoxyVersion}
  75. \hypertarget{value_8hpp_LICENSE}{}\subsection{L\+I\+C\+E\+N\+SE}\label{value_8hpp_LICENSE}
  76. M\+IT License
  77. Copyright (c) 2017 Caleb Fangmeier
  78. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \char`\"{}\+Software\char`\"{}), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions\+:
  79. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
  80. T\+HE S\+O\+F\+T\+W\+A\+RE IS P\+R\+O\+V\+I\+D\+ED \char`\"{}\+A\+S I\+S\char`\"{}, W\+I\+T\+H\+O\+UT W\+A\+R\+R\+A\+N\+TY OF A\+NY K\+I\+ND, E\+X\+P\+R\+E\+SS OR I\+M\+P\+L\+I\+ED, I\+N\+C\+L\+U\+D\+I\+NG B\+UT N\+OT L\+I\+M\+I\+T\+ED TO T\+HE W\+A\+R\+R\+A\+N\+T\+I\+ES OF M\+E\+R\+C\+H\+A\+N\+T\+A\+B\+I\+L\+I\+TY, F\+I\+T\+N\+E\+SS F\+OR A P\+A\+R\+T\+I\+C\+U\+L\+AR P\+U\+R\+P\+O\+SE A\+ND N\+O\+N\+I\+N\+F\+R\+I\+N\+G\+E\+M\+E\+NT. IN NO E\+V\+E\+NT S\+H\+A\+LL T\+HE A\+U\+T\+H\+O\+RS OR C\+O\+P\+Y\+R\+I\+G\+HT H\+O\+L\+D\+E\+RS BE L\+I\+A\+B\+LE F\+OR A\+NY C\+L\+A\+IM, D\+A\+M\+A\+G\+ES OR O\+T\+H\+ER L\+I\+A\+B\+I\+L\+I\+TY, W\+H\+E\+T\+H\+ER IN AN A\+C\+T\+I\+ON OF C\+O\+N\+T\+R\+A\+CT, T\+O\+RT OR O\+T\+H\+E\+R\+W\+I\+SE, A\+R\+I\+S\+I\+NG F\+R\+OM, O\+UT OF OR IN C\+O\+N\+N\+E\+C\+T\+I\+ON W\+I\+TH T\+HE S\+O\+F\+T\+W\+A\+RE OR T\+HE U\+SE OR O\+T\+H\+ER D\+E\+A\+L\+I\+N\+GS IN T\+HE S\+O\+F\+T\+W\+A\+RE.\hypertarget{value_8hpp_DESCRIPTION}{}\subsection{D\+E\+S\+C\+R\+I\+P\+T\+I\+ON}\label{value_8hpp_DESCRIPTION}