classfv_1_1util_1_1Log.tex 5.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. \hypertarget{classfv_1_1util_1_1Log}{}\section{fv\+:\+:util\+:\+:Log Class Reference}
  2. \label{classfv_1_1util_1_1Log}\index{fv\+::util\+::\+Log@{fv\+::util\+::\+Log}}
  3. Inheritance diagram for fv\+:\+:util\+:\+:Log\+:
  4. \nopagebreak
  5. \begin{figure}[H]
  6. \begin{center}
  7. \leavevmode
  8. \includegraphics[width=208pt]{classfv_1_1util_1_1Log__inherit__graph}
  9. \end{center}
  10. \end{figure}
  11. Collaboration diagram for fv\+:\+:util\+:\+:Log\+:
  12. \nopagebreak
  13. \begin{figure}[H]
  14. \begin{center}
  15. \leavevmode
  16. \includegraphics[width=247pt]{classfv_1_1util_1_1Log__coll__graph}
  17. \end{center}
  18. \end{figure}
  19. \subsection*{Public Member Functions}
  20. \begin{DoxyCompactItemize}
  21. \item
  22. \hypertarget{classfv_1_1util_1_1Log_a0e6f9d1a3088e9176d0a48b6eb104132}{}\label{classfv_1_1util_1_1Log_a0e6f9d1a3088e9176d0a48b6eb104132}
  23. {\bfseries Log} (std\+::string filename, Log\+Priority priority)
  24. \end{DoxyCompactItemize}
  25. \subsection*{Static Public Member Functions}
  26. \begin{DoxyCompactItemize}
  27. \item
  28. \hypertarget{classfv_1_1util_1_1Log_a8232233797affe8abc97d4b6e0b3b917}{}\label{classfv_1_1util_1_1Log_a8232233797affe8abc97d4b6e0b3b917}
  29. static \hyperlink{classfv_1_1util_1_1Log}{Log} \& {\bfseries init\+\_\+logger} (std\+::string filename, Log\+Priority priority)
  30. \end{DoxyCompactItemize}
  31. \subsection*{Protected Member Functions}
  32. \begin{DoxyCompactItemize}
  33. \item
  34. \hypertarget{classfv_1_1util_1_1Log_a133ed49ae8fc4cf3e2d511d0d9e28c94}{}\label{classfv_1_1util_1_1Log_a133ed49ae8fc4cf3e2d511d0d9e28c94}
  35. int {\bfseries sync} ()
  36. \item
  37. \hypertarget{classfv_1_1util_1_1Log_ad871974b451c4c5d6dc9ef40af56c5af}{}\label{classfv_1_1util_1_1Log_ad871974b451c4c5d6dc9ef40af56c5af}
  38. int {\bfseries overflow} (int c)
  39. \end{DoxyCompactItemize}
  40. \subsection*{Private Attributes}
  41. \begin{DoxyCompactItemize}
  42. \item
  43. \hypertarget{classfv_1_1util_1_1Log_a367cd2434a71d3d0c31eca4fa669863f}{}\label{classfv_1_1util_1_1Log_a367cd2434a71d3d0c31eca4fa669863f}
  44. std\+::string {\bfseries buffer\+\_\+}
  45. \item
  46. \hypertarget{classfv_1_1util_1_1Log_a228072e981f6e3061c574bf44123119b}{}\label{classfv_1_1util_1_1Log_a228072e981f6e3061c574bf44123119b}
  47. std\+::ofstream {\bfseries logfile}
  48. \item
  49. \hypertarget{classfv_1_1util_1_1Log_a82bba61e99e82b3b08eb1db2a266b1e3}{}\label{classfv_1_1util_1_1Log_a82bba61e99e82b3b08eb1db2a266b1e3}
  50. Log\+Priority {\bfseries priority\+\_\+curr}
  51. \item
  52. \hypertarget{classfv_1_1util_1_1Log_a741292d02499b1f9bef04739e0971faa}{}\label{classfv_1_1util_1_1Log_a741292d02499b1f9bef04739e0971faa}
  53. Log\+Priority {\bfseries priority\+\_\+set}
  54. \item
  55. const std\+::map$<$ Log\+Priority, std\+::string $>$ {\bfseries name\+\_\+map}
  56. \end{DoxyCompactItemize}
  57. \subsection*{Static Private Attributes}
  58. \begin{DoxyCompactItemize}
  59. \item
  60. \hypertarget{classfv_1_1util_1_1Log_aa65dbac5964f7d5c2a68308e42912350}{}\label{classfv_1_1util_1_1Log_aa65dbac5964f7d5c2a68308e42912350}
  61. static \hyperlink{classfv_1_1util_1_1Log}{Log} $\ast$ {\bfseries singleton} = nullptr
  62. \end{DoxyCompactItemize}
  63. \subsection*{Friends}
  64. \begin{DoxyCompactItemize}
  65. \item
  66. \hypertarget{classfv_1_1util_1_1Log_a0424ebdae6a085efdf86eef68d4290bb}{}\label{classfv_1_1util_1_1Log_a0424ebdae6a085efdf86eef68d4290bb}
  67. std\+::ostream \& \hyperlink{classfv_1_1util_1_1Log_a0424ebdae6a085efdf86eef68d4290bb}{operator$<$$<$} (std\+::ostream \&os, const Log\+Priority \&log\+\_\+priority)
  68. \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}
  69. \subsection{Member Data Documentation}
  70. \hypertarget{classfv_1_1util_1_1Log_a9fdd4bed5ad2aabb71418e9244fe25fd}{}\label{classfv_1_1util_1_1Log_a9fdd4bed5ad2aabb71418e9244fe25fd}
  71. \index{fv\+::util\+::\+Log@{fv\+::util\+::\+Log}!name\+\_\+map@{name\+\_\+map}}
  72. \index{name\+\_\+map@{name\+\_\+map}!fv\+::util\+::\+Log@{fv\+::util\+::\+Log}}
  73. \subsubsection{\texorpdfstring{name\+\_\+map}{name\_map}}
  74. {\footnotesize\ttfamily const std\+::map$<$Log\+Priority,std\+::string$>$ fv\+::util\+::\+Log\+::name\+\_\+map\hspace{0.3cm}{\ttfamily [private]}}
  75. {\bfseries Initial value\+:}
  76. \begin{DoxyCode}
  77. = \{\{kLogEmergency, \textcolor{stringliteral}{"EMERGENCY"}\},
  78. \{kLogAlert, \textcolor{stringliteral}{"ALERT"}\},
  79. \{kLogCritical, \textcolor{stringliteral}{"CRITICAL"}\},
  80. \{kLogError, \textcolor{stringliteral}{"ERROR"}\},
  81. \{kLogWarning, \textcolor{stringliteral}{"WARNING"}\},
  82. \{kLogNotice, \textcolor{stringliteral}{"NOTICE"}\},
  83. \{kLogInfo, \textcolor{stringliteral}{"INFO"}\},
  84. \{kLogDebug, \textcolor{stringliteral}{"DEBUG"}\}\}
  85. \end{DoxyCode}
  86. The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
  87. \item
  88. /home/caleb/\+Sources/\+T\+T\+T\+T/filval/\hyperlink{log_8hpp}{log.\+hpp}\end{DoxyCompactItemize}