├── doc ├── doxygen_objdb_4636.tmp ├── html │ ├── _logging_8h__incl.map │ ├── _logging_8h__incl.md5 │ ├── _logging_8cpp__incl.md5 │ ├── _logging_8h__dep__incl.md5 │ ├── class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.md5 │ ├── class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.md5 │ ├── class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.md5 │ ├── class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.md5 │ ├── doxygen.png │ ├── ftv2doc.png │ ├── tab_b.gif │ ├── tab_l.gif │ ├── tab_r.gif │ ├── ftv2blank.png │ ├── ftv2link.png │ ├── ftv2mnode.png │ ├── ftv2node.png │ ├── ftv2pnode.png │ ├── ftv2lastnode.png │ ├── ftv2vertline.png │ ├── graph_legend.png │ ├── ftv2folderopen.png │ ├── ftv2mlastnode.png │ ├── ftv2plastnode.png │ ├── _logging_8h__incl.png │ ├── ftv2folderclosed.png │ ├── _logging_8cpp__incl.png │ ├── _logging_8h__dep__incl.png │ ├── class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.png │ ├── class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.png │ ├── class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.png │ ├── class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.png │ ├── _logging_8h__dep__incl.map │ ├── class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.map │ ├── class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.map │ ├── class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.map │ ├── class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.map │ ├── index.html │ ├── main.html │ ├── annotated.html │ ├── globals_vars.html │ ├── files.html │ ├── functions_vars.html │ ├── classes.html │ ├── graph_legend.dot │ ├── tabs.css │ ├── functions_func.html │ ├── globals_defs.html │ ├── functions.html │ ├── globals.html │ ├── _logging_8cpp.html │ ├── class_logging-members.html │ ├── tree.html │ ├── graph_legend.html │ ├── _logging_8h-source.html │ ├── doxygen.css │ ├── _logging_8h.html │ ├── _logging_8cpp-source.html │ └── class_logging.html └── latex │ ├── _logging_8h__incl.md5 │ ├── _logging_8cpp__incl.md5 │ ├── _logging_8h__dep__incl.md5 │ ├── class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.md5 │ ├── class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.md5 │ ├── class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.md5 │ ├── class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.md5 │ ├── FreeSans.ttf │ ├── _logging_8h__incl.pdf │ ├── _logging_8cpp__incl.pdf │ ├── _logging_8h__dep__incl.pdf │ ├── class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.pdf │ ├── class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.pdf │ ├── class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.pdf │ ├── class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.pdf │ ├── annotated.tex │ ├── files.tex │ ├── Makefile │ ├── _logging_8cpp.tex │ ├── refman.tex │ ├── doxygen.sty │ ├── class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.eps │ ├── class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.eps │ ├── class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.eps │ ├── class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.eps │ ├── _logging_8h.tex │ ├── _logging_8h__dep__incl.eps │ ├── _logging_8h__incl.eps │ ├── _logging_8cpp__incl.eps │ └── class_logging.tex ├── .github └── FUNDING.yml ├── keywords.txt ├── examples └── Logging_example │ ├── Logging_example.ino.orig │ ├── Logging_example.ino │ └── Logging_example.ino.bak ├── Logging_WikiPage.txt ├── Logging.cpp └── Logging.h /doc/doxygen_objdb_4636.tmp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /doc/html/_logging_8h__incl.map: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /doc/html/_logging_8h__incl.md5: -------------------------------------------------------------------------------- 1 | a2cd343e55b11f7ce30991e2ff3c64f6 -------------------------------------------------------------------------------- /doc/latex/_logging_8h__incl.md5: -------------------------------------------------------------------------------- 1 | ee71a91a2b38f624cb7272bb9991a2b0 -------------------------------------------------------------------------------- /doc/html/_logging_8cpp__incl.md5: -------------------------------------------------------------------------------- 1 | 9bc36cc228a2c8d3e1c6ff210fc4873c -------------------------------------------------------------------------------- /doc/html/_logging_8h__dep__incl.md5: -------------------------------------------------------------------------------- 1 | f474553a6094abd8cb87cb218f448acf -------------------------------------------------------------------------------- /doc/latex/_logging_8cpp__incl.md5: -------------------------------------------------------------------------------- 1 | d8b0810a428a95861502d74c2672c55f -------------------------------------------------------------------------------- /doc/latex/_logging_8h__dep__incl.md5: -------------------------------------------------------------------------------- 1 | 6a05ccb4580feaa0a41a9439546f2ae1 -------------------------------------------------------------------------------- /doc/html/class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.md5: -------------------------------------------------------------------------------- 1 | b44edf156b3ed94fc1e1a435a07bb5dd -------------------------------------------------------------------------------- /doc/html/class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.md5: -------------------------------------------------------------------------------- 1 | 5e8a322879636277bcdb0b2b55b54b9f -------------------------------------------------------------------------------- /doc/html/class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.md5: -------------------------------------------------------------------------------- 1 | 2e8d61f05c7d2cc58b8f665f5d80d4de -------------------------------------------------------------------------------- /doc/html/class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.md5: -------------------------------------------------------------------------------- 1 | efec75918d9cbb82f0986a019f6a914b -------------------------------------------------------------------------------- /doc/latex/class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.md5: -------------------------------------------------------------------------------- 1 | 3277410f8d9ecca3a5de0ab53691ba26 -------------------------------------------------------------------------------- /doc/latex/class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.md5: -------------------------------------------------------------------------------- 1 | e24d211a832d762b210c351a2929e4e6 -------------------------------------------------------------------------------- /doc/latex/class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.md5: -------------------------------------------------------------------------------- 1 | e09d701f830a3a3458eb02a37752be21 -------------------------------------------------------------------------------- /doc/latex/class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.md5: -------------------------------------------------------------------------------- 1 | 25ab114c57dd2bf7b625223980cba149 -------------------------------------------------------------------------------- /doc/html/doxygen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/html/doxygen.png -------------------------------------------------------------------------------- /doc/html/ftv2doc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/html/ftv2doc.png -------------------------------------------------------------------------------- /doc/html/tab_b.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/html/tab_b.gif -------------------------------------------------------------------------------- /doc/html/tab_l.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/html/tab_l.gif -------------------------------------------------------------------------------- /doc/html/tab_r.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/html/tab_r.gif -------------------------------------------------------------------------------- /doc/html/ftv2blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/html/ftv2blank.png -------------------------------------------------------------------------------- /doc/html/ftv2link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/html/ftv2link.png -------------------------------------------------------------------------------- /doc/html/ftv2mnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/html/ftv2mnode.png -------------------------------------------------------------------------------- /doc/html/ftv2node.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/html/ftv2node.png -------------------------------------------------------------------------------- /doc/html/ftv2pnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/html/ftv2pnode.png -------------------------------------------------------------------------------- /doc/latex/FreeSans.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/latex/FreeSans.ttf -------------------------------------------------------------------------------- /doc/html/ftv2lastnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/html/ftv2lastnode.png -------------------------------------------------------------------------------- /doc/html/ftv2vertline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/html/ftv2vertline.png -------------------------------------------------------------------------------- /doc/html/graph_legend.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/html/graph_legend.png -------------------------------------------------------------------------------- /doc/html/ftv2folderopen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/html/ftv2folderopen.png -------------------------------------------------------------------------------- /doc/html/ftv2mlastnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/html/ftv2mlastnode.png -------------------------------------------------------------------------------- /doc/html/ftv2plastnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/html/ftv2plastnode.png -------------------------------------------------------------------------------- /doc/html/_logging_8h__incl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/html/_logging_8h__incl.png -------------------------------------------------------------------------------- /doc/html/ftv2folderclosed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/html/ftv2folderclosed.png -------------------------------------------------------------------------------- /doc/html/_logging_8cpp__incl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/html/_logging_8cpp__incl.png -------------------------------------------------------------------------------- /doc/latex/_logging_8h__incl.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/latex/_logging_8h__incl.pdf -------------------------------------------------------------------------------- /doc/html/_logging_8h__dep__incl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/html/_logging_8h__dep__incl.png -------------------------------------------------------------------------------- /doc/latex/_logging_8cpp__incl.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/latex/_logging_8cpp__incl.pdf -------------------------------------------------------------------------------- /doc/latex/_logging_8h__dep__incl.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/latex/_logging_8h__dep__incl.pdf -------------------------------------------------------------------------------- /doc/html/class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/html/class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.png -------------------------------------------------------------------------------- /doc/html/class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/html/class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.png -------------------------------------------------------------------------------- /doc/html/class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/html/class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.png -------------------------------------------------------------------------------- /doc/html/class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/html/class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.png -------------------------------------------------------------------------------- /doc/latex/class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/latex/class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.pdf -------------------------------------------------------------------------------- /doc/latex/class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/latex/class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.pdf -------------------------------------------------------------------------------- /doc/latex/class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/latex/class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.pdf -------------------------------------------------------------------------------- /doc/latex/class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciLor/Arduino-logging-library/master/doc/latex/class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.pdf -------------------------------------------------------------------------------- /doc/html/_logging_8h__dep__incl.map: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /doc/html/class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.map: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /doc/html/class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.map: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /doc/html/class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.map: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /doc/html/class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.map: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /doc/latex/annotated.tex: -------------------------------------------------------------------------------- 1 | \section{Class List} 2 | Here are the classes, structs, unions and interfaces with brief descriptions:\begin{CompactList} 3 | \item\contentsline{section}{\hyperlink{class_logging}{Logging} }{\pageref{class_logging}}{} 4 | \end{CompactList} 5 | -------------------------------------------------------------------------------- /doc/latex/files.tex: -------------------------------------------------------------------------------- 1 | \section{File List} 2 | Here is a list of all files with brief descriptions:\begin{CompactList} 3 | \item\contentsline{section}{K:/Projekte/robotic/arduino/arduino\_\-1-0Patch/libraries/Logging/\hyperlink{_logging_8cpp}{Logging.cpp} }{\pageref{_logging_8cpp}}{} 4 | \item\contentsline{section}{K:/Projekte/robotic/arduino/arduino\_\-1-0Patch/libraries/Logging/\hyperlink{_logging_8h}{Logging.h} }{\pageref{_logging_8h}}{} 5 | \end{CompactList} 6 | -------------------------------------------------------------------------------- /doc/html/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Logging 4 | 5 | 6 | 7 | 8 | <a href="main.html">Frames are disabled. Click here to go to the main page.</a> 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /doc/latex/Makefile: -------------------------------------------------------------------------------- 1 | all: clean refman.pdf 2 | 3 | pdf: refman.pdf 4 | 5 | refman.pdf: refman.tex 6 | pdflatex refman.tex 7 | makeindex refman.idx 8 | pdflatex refman.tex 9 | latex_count=5 ; \ 10 | while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\ 11 | do \ 12 | echo "Rerunning latex...." ;\ 13 | pdflatex refman.tex ;\ 14 | latex_count=`expr $$latex_count - 1` ;\ 15 | done 16 | 17 | 18 | clean: 19 | rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out refman.pdf 20 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: SciLor # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 13 | -------------------------------------------------------------------------------- /keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map logging lib 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | ####################################### 10 | # Methods and Functions (KEYWORD2) 11 | ####################################### 12 | Error KEYWORD2 error output 13 | Warn KEYWORD2 warning output 14 | Info KEYWORD2 info output 15 | Debug KEYWORD2 debug output 16 | Verbose KEYWORD2 verbose output 17 | Init KEYWORD2 initialiazing 18 | 19 | ####################################### 20 | # Instances (KEYWORD2) 21 | ####################################### 22 | Logging KEYWORD2 Logging library 23 | 24 | ####################################### 25 | # Constants (LITERAL1) 26 | ####################################### 27 | LOG_LEVEL_NOOUTPUT LITERAL1 Constants 28 | LOG_LEVEL_ERRORS LITERAL1 Constants 29 | LOG_LEVEL_INFOS LITERAL1 Constants 30 | LOG_LEVEL_DEBUG LITERAL1 Constants 31 | LOG_LEVEL_VERBOSE LITERAL1 Constants 32 | 33 | -------------------------------------------------------------------------------- /doc/html/main.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Logging: Main Page 4 | 5 | 6 | 7 | 8 | 17 |
18 |

Logging Documentation

19 |

20 |

21 |
Generated on Tue Mar 6 20:17:24 2012 for Logging by  22 | 23 | doxygen 1.5.6
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/latex/_logging_8cpp.tex: -------------------------------------------------------------------------------- 1 | \hypertarget{_logging_8cpp}{ 2 | \section{K:/Projekte/robotic/arduino/arduino\_\-1-0Patch/libraries/Logging/Logging.cpp File Reference} 3 | \label{_logging_8cpp}\index{K:/Projekte/robotic/arduino/arduino\_\-1-0Patch/libraries/Logging/Logging.cpp@{K:/Projekte/robotic/arduino/arduino\_\-1-0Patch/libraries/Logging/Logging.cpp}} 4 | } 5 | {\tt \#include \char`\"{}Logging.h\char`\"{}}\par 6 | 7 | 8 | Include dependency graph for Logging.cpp:\nopagebreak 9 | \begin{figure}[H] 10 | \begin{center} 11 | \leavevmode 12 | \includegraphics[width=192pt]{_logging_8cpp__incl} 13 | \end{center} 14 | \end{figure} 15 | \subsection*{Variables} 16 | \begin{CompactItemize} 17 | \item 18 | \hyperlink{class_logging}{Logging} \hyperlink{_logging_8cpp_f8164407f3289dde66d36070af4244c1}{Log} = \hyperlink{class_logging}{Logging}() 19 | \end{CompactItemize} 20 | 21 | 22 | \subsection{Variable Documentation} 23 | \hypertarget{_logging_8cpp_f8164407f3289dde66d36070af4244c1}{ 24 | \index{Logging.cpp@{Logging.cpp}!Log@{Log}} 25 | \index{Log@{Log}!Logging.cpp@{Logging.cpp}} 26 | \subsubsection[Log]{\setlength{\rightskip}{0pt plus 5cm}{\bf Logging} {\bf Log} = {\bf Logging}()}} 27 | \label{_logging_8cpp_f8164407f3289dde66d36070af4244c1} 28 | 29 | 30 | 31 | 32 | Definition at line 117 of file Logging.cpp. -------------------------------------------------------------------------------- /doc/latex/refman.tex: -------------------------------------------------------------------------------- 1 | \documentclass[a4paper]{book} 2 | \usepackage{a4wide} 3 | \usepackage{makeidx} 4 | \usepackage{fancyhdr} 5 | \usepackage{graphicx} 6 | \usepackage{multicol} 7 | \usepackage{float} 8 | \usepackage{textcomp} 9 | \usepackage{alltt} 10 | \usepackage{times} 11 | \usepackage{ifpdf} 12 | \ifpdf 13 | \usepackage[pdftex, 14 | pagebackref=true, 15 | colorlinks=true, 16 | linkcolor=blue, 17 | unicode 18 | ]{hyperref} 19 | \else 20 | \usepackage[ps2pdf, 21 | pagebackref=true, 22 | colorlinks=true, 23 | linkcolor=blue, 24 | unicode 25 | ]{hyperref} 26 | \usepackage{pspicture} 27 | \fi 28 | \usepackage[utf8]{inputenc} 29 | \usepackage{doxygen} 30 | \makeindex 31 | \setcounter{tocdepth}{3} 32 | \renewcommand{\footrulewidth}{0.4pt} 33 | \begin{document} 34 | \begin{titlepage} 35 | \vspace*{7cm} 36 | \begin{center} 37 | {\Large Logging }\\ 38 | \vspace*{1cm} 39 | {\large Generated by Doxygen 1.5.6}\\ 40 | \vspace*{0.5cm} 41 | {\small Tue Mar 6 20:17:24 2012}\\ 42 | \end{center} 43 | \end{titlepage} 44 | \clearemptydoublepage 45 | \pagenumbering{roman} 46 | \tableofcontents 47 | \clearemptydoublepage 48 | \pagenumbering{arabic} 49 | \chapter{Class Index} 50 | \input{annotated} 51 | \chapter{File Index} 52 | \input{files} 53 | \chapter{Class Documentation} 54 | \input{class_logging} 55 | \chapter{File Documentation} 56 | \input{_logging_8cpp} 57 | \include{_logging_8h} 58 | \printindex 59 | \end{document} 60 | -------------------------------------------------------------------------------- /doc/html/annotated.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Logging: Class List 4 | 5 | 6 | 7 | 8 | 23 |
24 |

Class List

Here are the classes, structs, unions and interfaces with brief descriptions: 25 | 26 |
Logging
27 |
28 |
Generated on Tue Mar 6 20:17:24 2012 for Logging by  29 | 30 | doxygen 1.5.6
31 | 32 | 33 | -------------------------------------------------------------------------------- /examples/Logging_example/Logging_example.ino.orig: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | /*! 4 | * This example show some examples to use the Log library 5 | * 6 | * Have fun 7 | * mrRobot@web.de 8 | */ 9 | 10 | // we need a Log object 11 | 12 | #define LOGLEVEL LOG_LEVEL_DEBUG 13 | 14 | int myInt1, myInt2; 15 | long myLong1, myLong2; 16 | bool myBool1, myBool2; 17 | char* myString = "this is a string"; 18 | 19 | void setup() { 20 | Log.Init(LOGLEVEL, 38400L); 21 | Log.Info(CR"******************************************"CR); 22 | Log.Info("My favorite output stuff in future :-)"CR); 23 | Log.Info("******************************************"CR); 24 | myInt1 = 232; 25 | myInt2 = 32199; 26 | myLong1 = 99403020; 27 | myLong2 = 45021; 28 | myBool1 = true; 29 | myBool2 = !myBool1; 30 | } 31 | 32 | void loop() { 33 | Log.Info("Display my integers myInt1 %d, myInt2 %d"CR,myInt1, myInt2); 34 | Log.Info("Display as hex myInt1=%x, myInt1=%X"CR,myInt1, myInt1); 35 | Log.Info("Display as hex myInt2=%x, myInt2=%X"CR,myInt2, myInt2); 36 | Log.Info("Display as binary myInt1=%b, myInt1=%B"CR,myInt1, myInt1); 37 | Log.Info("Display as binary myInt2=%b, myInt2=%B"CR,myInt2, myInt2); 38 | Log.Info("Display my longs myLong1 %l, myLong2=%l"CR,myLong1, myLong2); 39 | Log.Info("Display my bool myBool1=%t, myBool2=%T"CR,myBool1, myBool2); 40 | Log.Info("Output: %s"CR, myString); 41 | Log.Error("is this an real error? %T"CR,myBool2); 42 | Log.Debug("%d, %d, %l, %l, %t, %T"CR,myInt1,myInt2, 43 | myLong1,myLong2, 44 | myBool1,myBool2); 45 | Log.Info(CR"have fun with this Log"CR); 46 | delay(5000); 47 | } 48 | -------------------------------------------------------------------------------- /examples/Logging_example/Logging_example.ino: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | /*! 4 | * This example show some examples to use the Log library 5 | * 6 | * Have fun 7 | * mrRobot@web.de 8 | */ 9 | 10 | // we need a Log object 11 | 12 | #define LOGLEVEL LOG_LEVEL_DEBUG 13 | 14 | int myInt1, myInt2; 15 | long myLong1, myLong2; 16 | bool myBool1, myBool2; 17 | char* myString = "this is a string"; 18 | 19 | void setup() { 20 | Log.Init(LOGLEVEL, 38400L); 21 | Log.Info(CR"******************************************"CR); 22 | Log.Info("My favorite output stuff in future :-)"CR); 23 | Log.Info("******************************************"CR); 24 | myInt1 = 232; 25 | myInt2 = 32199; 26 | myLong1 = 99403020; 27 | myLong2 = 45021; 28 | myBool1 = true; 29 | myBool2 = !myBool1; 30 | } 31 | 32 | void loop() { 33 | Log.Info("Display my integers myInt1 %d, myInt2 %d"CR, myInt1, myInt2); 34 | Log.Info("Display as hex myInt1=%x, myInt1=%X"CR, myInt1, myInt1); 35 | Log.Info("Display as hex myInt2=%x, myInt2=%X"CR, myInt2, myInt2); 36 | Log.Info("Display as binary myInt1=%b, myInt1=%B"CR, myInt1, myInt1); 37 | Log.Info("Display as binary myInt2=%b, myInt2=%B"CR, myInt2, myInt2); 38 | Log.Info("Display my longs myLong1 %l, myLong2=%l"CR, myLong1, myLong2); 39 | Log.Info("Display my bool myBool1=%t, myBool2=%T"CR, myBool1, myBool2); 40 | Log.Info("Output: %s"CR, myString); 41 | Log.Error("is this an real error? %T"CR, myBool2); 42 | Log.Debug("%d, %d, %l, %l, %t, %T"CR, myInt1, myInt2, 43 | myLong1, myLong2, 44 | myBool1, myBool2); 45 | Log.Info(CR"have fun with this Log"CR); 46 | delay(5000); 47 | } 48 | -------------------------------------------------------------------------------- /examples/Logging_example/Logging_example.ino.bak: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | /*! 4 | * This example show some examples to use the Log library 5 | * 6 | * Have fun 7 | * mrRobot@web.de 8 | */ 9 | 10 | // we need a Log object 11 | 12 | #define LOGLEVEL LOG_LEVEL_DEBUG 13 | 14 | int myInt1, myInt2; 15 | long myLong1, myLong2; 16 | bool myBool1, myBool2; 17 | char* myString = "this is a string"; 18 | 19 | void setup() { 20 | Log.Init(LOGLEVEL, 38400L); 21 | Log.Info(CR"******************************************"CR); 22 | Log.Info("My favorite output stuff in future :-)"CR); 23 | Log.Info("******************************************"CR); 24 | myInt1 = 232; 25 | myInt2 = 32199; 26 | myLong1 = 99403020; 27 | myLong2 = 45021; 28 | myBool1 = true; 29 | myBool2 = !myBool1; 30 | } 31 | 32 | void loop() { 33 | Log.Info("Display my integers myInt1 %d, myInt2 %d"CR, myInt1, myInt2); 34 | Log.Info("Display as hex myInt1=%x, myInt1=%X"CR, myInt1, myInt1); 35 | Log.Info("Display as hex myInt2=%x, myInt2=%X"CR, myInt2, myInt2); 36 | Log.Info("Display as binary myInt1=%b, myInt1=%B"CR, myInt1, myInt1); 37 | Log.Info("Display as binary myInt2=%b, myInt2=%B"CR, myInt2, myInt2); 38 | Log.Info("Display my longs myLong1 %l, myLong2=%l"CR, myLong1, myLong2); 39 | Log.Info("Display my bool myBool1=%t, myBool2=%T"CR, myBool1, myBool2); 40 | Log.Info("Output: %s"CR, myString); 41 | Log.Error("is this an real error? %T"CR, myBool2); 42 | Log.Debug("%d, %d, %l, %l, %t, %T"CR, myInt1, myInt2, 43 | myLong1, myLong2, 44 | myBool1, myBool2); 45 | Log.Info(CR"have fun with this Log"CR); 46 | delay(5000); 47 | } 48 | -------------------------------------------------------------------------------- /doc/html/globals_vars.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Logging: Class Members 4 | 5 | 6 | 7 | 8 | 30 |
31 |   32 |

33 |

38 |
39 |
Generated on Tue Mar 6 20:17:24 2012 for Logging by  40 | 41 | doxygen 1.5.6
42 | 43 | 44 | -------------------------------------------------------------------------------- /doc/html/files.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Logging: File Index 4 | 5 | 6 | 7 | 8 | 23 |
24 |

File List

Here is a list of all files with brief descriptions: 25 | 26 | 27 |
K:/Projekte/robotic/arduino/arduino_1-0Patch/libraries/Logging/Logging.cpp [code]
K:/Projekte/robotic/arduino/arduino_1-0Patch/libraries/Logging/Logging.h [code]
28 |
29 |
Generated on Tue Mar 6 20:17:24 2012 for Logging by  30 | 31 | doxygen 1.5.6
32 | 33 | 34 | -------------------------------------------------------------------------------- /doc/html/functions_vars.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Logging: Class Members - Variables 4 | 5 | 6 | 7 | 8 | 30 |
31 |   32 |

33 |

39 |
40 |
Generated on Tue Mar 6 20:17:24 2012 for Logging by  41 | 42 | doxygen 1.5.6
43 | 44 | 45 | -------------------------------------------------------------------------------- /doc/html/classes.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Logging: Alphabetical List 4 | 5 | 6 | 7 | 8 | 24 |
25 |

Class Index

26 | 27 |
  L  
28 |
Logging   

29 |

30 |
Generated on Sun Feb 26 09:52:54 2012 for Logging by  31 | 32 | doxygen 1.5.6
33 | 34 | 35 | -------------------------------------------------------------------------------- /doc/html/graph_legend.dot: -------------------------------------------------------------------------------- 1 | digraph G 2 | { 3 | bgcolor="transparent"; 4 | edge [fontname="FreeSans",fontsize=10,labelfontname="FreeSans",labelfontsize=10]; 5 | node [fontname="FreeSans",fontsize=10,shape=record]; 6 | Node9 [shape="box",label="Inherited",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",fillcolor="grey75",style="filled" fontcolor="black"]; 7 | Node10 -> Node9 [dir=back,color="midnightblue",fontsize=10,style="solid",fontname="FreeSans"]; 8 | Node10 [shape="box",label="PublicBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classPublicBase.html"]; 9 | Node11 -> Node10 [dir=back,color="midnightblue",fontsize=10,style="solid",fontname="FreeSans"]; 10 | Node11 [shape="box",label="Truncated",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="red",URL="$classTruncated.html"]; 11 | Node13 -> Node9 [dir=back,color="darkgreen",fontsize=10,style="solid",fontname="FreeSans"]; 12 | Node13 [shape="box",label="ProtectedBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classProtectedBase.html"]; 13 | Node14 -> Node9 [dir=back,color="firebrick4",fontsize=10,style="solid",fontname="FreeSans"]; 14 | Node14 [shape="box",label="PrivateBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classPrivateBase.html"]; 15 | Node15 -> Node9 [dir=back,color="midnightblue",fontsize=10,style="solid",fontname="FreeSans"]; 16 | Node15 [shape="box",label="Undocumented",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="grey75"]; 17 | Node16 -> Node9 [dir=back,color="midnightblue",fontsize=10,style="solid",fontname="FreeSans"]; 18 | Node16 [shape="box",label="Templ< int >",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classTempl.html"]; 19 | Node17 -> Node16 [dir=back,color="orange",fontsize=10,style="dashed",label="< int >",fontname="FreeSans"]; 20 | Node17 [shape="box",label="Templ< T >",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classTempl.html"]; 21 | Node18 -> Node9 [dir=back,color="darkorchid3",fontsize=10,style="dashed",label="m_usedClass",fontname="FreeSans"]; 22 | Node18 [shape="box",label="Used",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classUsed.html"]; 23 | } 24 | -------------------------------------------------------------------------------- /doc/html/tabs.css: -------------------------------------------------------------------------------- 1 | /* tabs styles, based on http://www.alistapart.com/articles/slidingdoors */ 2 | 3 | DIV.tabs 4 | { 5 | float : left; 6 | width : 100%; 7 | background : url("tab_b.gif") repeat-x bottom; 8 | margin-bottom : 4px; 9 | } 10 | 11 | DIV.tabs UL 12 | { 13 | margin : 0px; 14 | padding-left : 10px; 15 | list-style : none; 16 | } 17 | 18 | DIV.tabs LI, DIV.tabs FORM 19 | { 20 | display : inline; 21 | margin : 0px; 22 | padding : 0px; 23 | } 24 | 25 | DIV.tabs FORM 26 | { 27 | float : right; 28 | } 29 | 30 | DIV.tabs A 31 | { 32 | float : left; 33 | background : url("tab_r.gif") no-repeat right top; 34 | border-bottom : 1px solid #84B0C7; 35 | font-size : x-small; 36 | font-weight : bold; 37 | text-decoration : none; 38 | } 39 | 40 | DIV.tabs A:hover 41 | { 42 | background-position: 100% -150px; 43 | } 44 | 45 | DIV.tabs A:link, DIV.tabs A:visited, 46 | DIV.tabs A:active, DIV.tabs A:hover 47 | { 48 | color: #1A419D; 49 | } 50 | 51 | DIV.tabs SPAN 52 | { 53 | float : left; 54 | display : block; 55 | background : url("tab_l.gif") no-repeat left top; 56 | padding : 5px 9px; 57 | white-space : nowrap; 58 | } 59 | 60 | DIV.tabs INPUT 61 | { 62 | float : right; 63 | display : inline; 64 | font-size : 1em; 65 | } 66 | 67 | DIV.tabs TD 68 | { 69 | font-size : x-small; 70 | font-weight : bold; 71 | text-decoration : none; 72 | } 73 | 74 | 75 | 76 | /* Commented Backslash Hack hides rule from IE5-Mac \*/ 77 | DIV.tabs SPAN {float : none;} 78 | /* End IE5-Mac hack */ 79 | 80 | DIV.tabs A:hover SPAN 81 | { 82 | background-position: 0% -150px; 83 | } 84 | 85 | DIV.tabs LI.current A 86 | { 87 | background-position: 100% -150px; 88 | border-width : 0px; 89 | } 90 | 91 | DIV.tabs LI.current SPAN 92 | { 93 | background-position: 0% -150px; 94 | padding-bottom : 6px; 95 | } 96 | 97 | DIV.navpath 98 | { 99 | background : none; 100 | border : none; 101 | border-bottom : 1px solid #84B0C7; 102 | } 103 | -------------------------------------------------------------------------------- /doc/html/functions_func.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Logging: Class Members - Functions 4 | 5 | 6 | 7 | 8 | 30 |
31 |   32 |

33 |

49 |
50 |
Generated on Tue Mar 6 20:17:24 2012 for Logging by  51 | 52 | doxygen 1.5.6
53 | 54 | 55 | -------------------------------------------------------------------------------- /Logging_WikiPage.txt: -------------------------------------------------------------------------------- 1 | %define=box block bgcolor=#dddddd border="2px dotted white"% 2 | %define=wbox block bgcolor=#eeeeee color=#000000 border="1px dotted black" padding="2px"% 3 | 4 | 5 | %wbox%[@Logging library for Arudino 6 | by LunaX - 2010/2011 7 | @]%% 8 | 9 | !CURRENT VERSION 10 | 11 | 1.0)24-FEB-2012 beta version. 12 | 13 | !HISTORY 14 | 15 | 1.0) 24-FEB-2012 Initial Release\\ 16 | 17 | 18 | !DESCRIPTION 19 | Easy to use logging library, like log4j or log4net. After getting a logger object, you will have 20 | methods like Error, Info, Warn, Debug, Verbose to log informations over RS232. 21 | Depending on the current loglevel lower logleves are not printed out. 22 | It is possible to work with variable argument lists during output. 23 | Detailed description is included in doc folder 24 | 25 | !HOW TO IMPORT/INSTALL 26 | Download here zip file here [[https://github.com/mrRobot62/Arduino-logging-library]] 27 | 28 | Put the Logging folder in "libraries\". 29 | 30 | Open example project which is included in the zip file. Try it, like it :-) 31 | 32 | Some benefits: 33 | !Use formated strings with wildcards 34 | ||border=0 35 | ||!wildcard ||!Comment ||Example || 36 | ||%s ||replace with an string (char*) ||logger.Info("String %s",myString); || 37 | ||%c ||replace with an character ||logger.Info("use %c as input",myChar); || 38 | ||%d ||replace with an integer value ||logger.Info("current value %d",myValue); || 39 | ||%l ||replace with an long value ||logger.Info("current long %l",myLong); || 40 | ||%x ||replace and convert integer value into hex ||logger.Info ("as hex %x), myValue); || 41 | ||%X ||like %x but combine with 0x123AB ||logger.Info ("as hex %X), myValue); || 42 | ||%b ||replace and convert integer value into binary ||logger.Info ("as bin %b), myValue); || 43 | ||%B ||like %x but combine with 0b10100011 ||logger.Info ("as bin %B), myValue); || 44 | ||%t ||replace and convert boolean value into "t" or "f" ||logger.Info ("is it true? %t), myBool); || 45 | ||%T ||like %t but convert into "true" or "false" ||logger.Info ("is it true? %T), myBool); || 46 | 47 | !Methods for output 48 | ||border=0 49 | ||!Methode ||!Comment || 50 | ||Error ||print messages with loglevel >= LOGLEVEL_ERROR || 51 | ||Info ||print messages with loglevel >= LOGLEVEL_INFO || 52 | ||Debug ||print messages with loglevel >= LOGLEVEL_DEBUG || 53 | ||Verbose ||print messages with loglevel >= LOGLEVEL_VERGBOSE || 54 | %% 55 | -------------------------------------------------------------------------------- /doc/html/globals_defs.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Logging: Class Members 4 | 5 | 6 | 7 | 8 | 30 |
31 |   32 |

33 |

51 |
52 |
Generated on Tue Mar 6 20:17:24 2012 for Logging by  53 | 54 | doxygen 1.5.6
55 | 56 | 57 | -------------------------------------------------------------------------------- /doc/html/functions.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Logging: Class Members 4 | 5 | 6 | 7 | 8 | 30 |
31 | Here is a list of all class members with links to the classes they belong to: 32 |

33 |

53 |
54 |
Generated on Tue Mar 6 20:17:24 2012 for Logging by  55 | 56 | doxygen 1.5.6
57 | 58 | 59 | -------------------------------------------------------------------------------- /doc/latex/doxygen.sty: -------------------------------------------------------------------------------- 1 | \NeedsTeXFormat{LaTeX2e} 2 | \ProvidesPackage{doxygen} 3 | \RequirePackage{calc} 4 | \RequirePackage{array} 5 | \pagestyle{fancyplain} 6 | \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}\cleardoublepage}} 7 | \renewcommand{\chaptermark}[1]{\markboth{#1}{}} 8 | \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}} 9 | \lhead[\fancyplain{}{\bfseries\thepage}] 10 | {\fancyplain{}{\bfseries\rightmark}} 11 | \rhead[\fancyplain{}{\bfseries\leftmark}] 12 | {\fancyplain{}{\bfseries\thepage}} 13 | \rfoot[\fancyplain{}{\bfseries\scriptsize Generated on Tue Mar 6 20:17:24 2012 for Logging by Doxygen }]{} 14 | \lfoot[]{\fancyplain{}{\bfseries\scriptsize Generated on Tue Mar 6 20:17:24 2012 for Logging by Doxygen }} 15 | \cfoot{} 16 | \newenvironment{Code} 17 | {\footnotesize} 18 | {\normalsize} 19 | \newcommand{\doxyref}[3]{\textbf{#1} (\textnormal{#2}\,\pageref{#3})} 20 | \newenvironment{DocInclude} 21 | {\footnotesize} 22 | {\normalsize} 23 | \newenvironment{VerbInclude} 24 | {\footnotesize} 25 | {\normalsize} 26 | \newenvironment{Image} 27 | {\begin{figure}[H]} 28 | {\end{figure}} 29 | \newenvironment{ImageNoCaption}{}{} 30 | \newenvironment{CompactList} 31 | {\begin{list}{}{ 32 | \setlength{\leftmargin}{0.5cm} 33 | \setlength{\itemsep}{0pt} 34 | \setlength{\parsep}{0pt} 35 | \setlength{\topsep}{0pt} 36 | \renewcommand{\makelabel}{\hfill}}} 37 | {\end{list}} 38 | \newenvironment{CompactItemize} 39 | { 40 | \begin{itemize} 41 | \setlength{\itemsep}{-3pt} 42 | \setlength{\parsep}{0pt} 43 | \setlength{\topsep}{0pt} 44 | \setlength{\partopsep}{0pt} 45 | } 46 | {\end{itemize}} 47 | \newcommand{\PBS}[1]{\let\temp=\\#1\let\\=\temp} 48 | \newlength{\tmplength} 49 | \newenvironment{TabularC}[1] 50 | { 51 | \setlength{\tmplength} 52 | {\linewidth/(#1)-\tabcolsep*2-\arrayrulewidth*(#1+1)/(#1)} 53 | \par\begin{tabular*}{\linewidth} 54 | {*{#1}{|>{\PBS\raggedright\hspace{0pt}}p{\the\tmplength}}|} 55 | } 56 | {\end{tabular*}\par} 57 | \newcommand{\entrylabel}[1]{ 58 | {\parbox[b]{\labelwidth-4pt}{\makebox[0pt][l]{\textbf{#1}}\vspace{1.5\baselineskip}}}} 59 | \newenvironment{Desc} 60 | {\begin{list}{} 61 | { 62 | \settowidth{\labelwidth}{40pt} 63 | \setlength{\leftmargin}{\labelwidth} 64 | \setlength{\parsep}{0pt} 65 | \setlength{\itemsep}{-4pt} 66 | \renewcommand{\makelabel}{\entrylabel} 67 | } 68 | } 69 | {\end{list}} 70 | \newenvironment{Indent} 71 | {\begin{list}{}{\setlength{\leftmargin}{0.5cm}} 72 | \item[]\ignorespaces} 73 | {\unskip\end{list}} 74 | \setlength{\parindent}{0cm} 75 | \setlength{\parskip}{0.2cm} 76 | \addtocounter{secnumdepth}{1} 77 | \sloppy 78 | \usepackage[T1]{fontenc} 79 | -------------------------------------------------------------------------------- /doc/html/globals.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Logging: Class Members 4 | 5 | 6 | 7 | 8 | 30 |
31 | Here is a list of all file members with links to the files they belong to: 32 |

33 |

54 |
55 |
Generated on Tue Mar 6 20:17:24 2012 for Logging by  56 | 57 | doxygen 1.5.6
58 | 59 | 60 | -------------------------------------------------------------------------------- /doc/html/_logging_8cpp.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Logging: K:/Projekte/robotic/arduino/arduino_1-0Patch/libraries/Logging/Logging.cpp File Reference 4 | 5 | 6 | 7 | 8 | 17 |
18 |

K:/Projekte/robotic/arduino/arduino_1-0Patch/libraries/Logging/Logging.cpp File Reference

#include "Logging.h"
19 | 20 |

21 |

22 | Include dependency graph for Logging.cpp:
23 |
24 |

25 |
26 | 27 |

28 | Go to the source code of this file. 29 | 30 | 31 | 32 | 33 |

Variables

Logging Log = Logging()
34 |


Variable Documentation

35 | 36 |
37 |
38 | 39 | 40 | 41 | 42 |
Logging Log = Logging()
43 |
44 |
45 | 46 |

47 | 48 |

Definition at line 117 of file Logging.cpp.

49 | 50 |
51 |

52 |

53 |
Generated on Tue Mar 6 20:17:24 2012 for Logging by  54 | 55 | doxygen 1.5.6
56 | 57 | 58 | -------------------------------------------------------------------------------- /doc/html/class_logging-members.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Logging: Member List 4 | 5 | 6 | 7 | 8 | 23 |
24 |

Logging Member List

This is the complete list of members for Logging, including all inherited members.

25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 |
_baudLogging [private]
_levelLogging [private]
Debug(char *msg,...)Logging
Error(char *msg,...)Logging
Info(char *msg,...)Logging
Init(int level, long baud)Logging
Logging()Logging [inline]
print(const char *format, va_list args)Logging [private]
Verbose(char *msg,...)Logging

35 |
Generated on Tue Mar 6 20:17:24 2012 for Logging by  36 | 37 | doxygen 1.5.6
38 | 39 | 40 | -------------------------------------------------------------------------------- /Logging.cpp: -------------------------------------------------------------------------------- 1 | #include "Logging.h" 2 | 3 | void Logging::init(int level, long baud){ 4 | _level = constrain(level,LOG_LEVEL_NOOUTPUT,LOG_LEVEL_VERBOSE); 5 | _baud = baud; 6 | Serial.begin(_baud); 7 | 8 | HardwareSerial &serial = Serial; 9 | _stream = &static_cast(serial); 10 | 11 | info("Start logging"); 12 | } 13 | void Logging::init(int level, long baud, Stream* additionalLogger) { 14 | _additionalLogger = additionalLogger; 15 | init(level, baud); 16 | } 17 | 18 | void Logging::error(const char* msg, ...){ 19 | if (LOG_LEVEL_ERRORS <= _level) { 20 | print("E: "); 21 | va_list args; 22 | va_start(args, msg); 23 | printFormat(msg, args); 24 | } 25 | } 26 | 27 | 28 | void Logging::info(const char* msg, ...){ 29 | if (LOG_LEVEL_INFOS <= _level) { 30 | print("I: "); 31 | va_list args; 32 | va_start(args, msg); 33 | printFormat(msg,args); 34 | } 35 | } 36 | 37 | void Logging::debug(const char* msg, ...){ 38 | if (LOG_LEVEL_DEBUG <= _level) { 39 | print("D: "); 40 | va_list args; 41 | va_start(args, msg); 42 | printFormat(msg,args); 43 | } 44 | } 45 | 46 | 47 | void Logging::verbose(const char* msg, ...){ 48 | if (LOG_LEVEL_VERBOSE <= _level) { 49 | print("V: "); 50 | va_list args; 51 | va_start(args, msg); 52 | printFormat(msg,args); 53 | } 54 | } 55 | 56 | void Logging::print(const char *msg) { 57 | _stream->print(msg); 58 | if (_additionalLogger != 0) 59 | _additionalLogger->print(msg); 60 | } 61 | void Logging::printFormat(const char *format, va_list args) { 62 | printFormat(_stream, format, args); 63 | if (_additionalLogger != 0) 64 | printFormat(_additionalLogger, format, args); 65 | } 66 | 67 | void Logging::printFormat(Stream *stream, const char *format, va_list args) { 68 | // loop through format string 69 | for (; *format != 0; ++format) { 70 | if (*format == '%') { 71 | ++format; 72 | if (*format == '\0') break; 73 | if (*format == '%') { 74 | stream->print(*format); 75 | continue; 76 | } 77 | if( *format == 's' ) { 78 | register char *s = (char *)va_arg( args, int ); 79 | stream->print(s); 80 | continue; 81 | } 82 | if( *format == 'd' || *format == 'i') { 83 | stream->print(va_arg( args, int ),DEC); 84 | continue; 85 | } 86 | if( *format == 'f') { 87 | stream->print(va_arg( args, double ),DEC); 88 | continue; 89 | } 90 | if( *format == 'x' ) { 91 | stream->print(va_arg( args, int ),HEX); 92 | continue; 93 | } 94 | if( *format == 'X' ) { 95 | stream->print("0x"); 96 | stream->print(va_arg( args, int ),HEX); 97 | continue; 98 | } 99 | if( *format == 'b' ) { 100 | stream->print(va_arg( args, int ),BIN); 101 | continue; 102 | } 103 | if( *format == 'B' ) { 104 | stream->print("0b"); 105 | stream->print(va_arg( args, int ),BIN); 106 | continue; 107 | } 108 | if( *format == 'l' ) { 109 | stream->print(va_arg( args, long ),DEC); 110 | continue; 111 | } 112 | 113 | if( *format == 'c' ) { 114 | stream->print(va_arg( args, int )); 115 | continue; 116 | } 117 | if( *format == 't' ) { 118 | if (va_arg( args, int ) == 1) { 119 | stream->print("T"); 120 | } 121 | else { 122 | stream->print("F"); 123 | } 124 | continue; 125 | } 126 | if( *format == 'T' ) { 127 | if (va_arg( args, int ) == 1) { 128 | stream->print("true"); 129 | } 130 | else { 131 | stream->print("false"); 132 | } 133 | continue; 134 | } 135 | 136 | } 137 | stream->print(*format); 138 | } 139 | stream->println(); 140 | } 141 | 142 | 143 | 144 | Logging Log = Logging(); 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | -------------------------------------------------------------------------------- /doc/html/tree.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | TreeView 8 | 60 | 61 | 62 | 63 | 79 | 80 | -------------------------------------------------------------------------------- /doc/html/graph_legend.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Logging: Graph Legend 4 | 5 | 6 | 7 | 8 | 17 |
18 |

Graph Legend

This page explains how to interpret the graphs that are generated by doxygen.

19 | Consider the following example:

/*! Invisible class because of truncation */
20 | class Invisible { };
21 | 
22 | /*! Truncated class, inheritance relation is hidden */
23 | class Truncated : public Invisible { };
24 | 
25 | /* Class not documented with doxygen comments */
26 | class Undocumented { };
27 | 
28 | /*! Class that is inherited using public inheritance */
29 | class PublicBase : public Truncated { };
30 | 
31 | /*! A template class */
32 | template<class T> class Templ { };
33 | 
34 | /*! Class that is inherited using protected inheritance */
35 | class ProtectedBase { };
36 | 
37 | /*! Class that is inherited using private inheritance */
38 | class PrivateBase { };
39 | 
40 | /*! Class that is used by the Inherited class */
41 | class Used { };
42 | 
43 | /*! Super class that inherits a number of other classes */
44 | class Inherited : public PublicBase,
45 |                   protected ProtectedBase,
46 |                   private PrivateBase,
47 |                   public Undocumented,
48 |                   public Templ<int>
49 | {
50 |   private:
51 |     Used *m_usedClass;
52 | };
53 | 
If the MAX_DOT_GRAPH_HEIGHT tag in the configuration file is set to 240 this will result in the following graph:

54 |

55 | graph_legend.png 56 |
57 |

58 | The boxes in the above graph have the following meaning:

    59 |
  • 60 | A filled gray box represents the struct or class for which the graph is generated.
  • 61 |
  • 62 | A box with a black border denotes a documented struct or class.
  • 63 |
  • 64 | A box with a grey border denotes an undocumented struct or class.
  • 65 |
  • 66 | A box with a red border denotes a documented struct or class forwhich not all inheritance/containment relations are shown. A graph is truncated if it does not fit within the specified boundaries.
  • 67 |
68 | The arrows have the following meaning:
    69 |
  • 70 | A dark blue arrow is used to visualize a public inheritance relation between two classes.
  • 71 |
  • 72 | A dark green arrow is used for protected inheritance.
  • 73 |
  • 74 | A dark red arrow is used for private inheritance.
  • 75 |
  • 76 | A purple dashed arrow is used if a class is contained or used by another class. The arrow is labeled with the variable(s) through which the pointed class or struct is accessible.
  • 77 |
  • 78 | A yellow dashed arrow denotes a relation between a template instance and the template class it was instantiated from. The arrow is labeled with the template parameters of the instance.
  • 79 |
80 |
81 |
Generated on Tue Mar 6 20:17:24 2012 for Logging by  82 | 83 | doxygen 1.5.6
84 | 85 | 86 | -------------------------------------------------------------------------------- /Logging.h: -------------------------------------------------------------------------------- 1 | #ifndef LOGGING_H 2 | #define LOGGING_H 3 | #include 4 | #include 5 | #if defined(ARDUINO) && ARDUINO >= 100 6 | #include "Arduino.h" 7 | #else 8 | #include "WProgram.h" 9 | #endif 10 | 11 | #include 12 | #include 13 | 14 | #define LOG_LEVEL_NOOUTPUT 0 15 | #define LOG_LEVEL_ERRORS 1 16 | #define LOG_LEVEL_INFOS 2 17 | #define LOG_LEVEL_DEBUG 3 18 | #define LOG_LEVEL_VERBOSE 4 19 | 20 | // default loglevel if nothing is set from user 21 | #define LOGLEVEL LOG_LEVEL_DEBUG 22 | 23 | #define LOGGING_VERSION 1 24 | 25 | /*! 26 | * Logging is a helper class to output informations over 27 | * RS232. If you know log4j or log4net, this logging class 28 | * is more or less similar ;-)
29 | * Different loglevels can be used to extend or reduce output 30 | * All methods are able to handle any number of output parameters. 31 | * All methods print out a formated string (like printf).
32 | * To reduce output and program size, reduce loglevel. 33 | *
34 | * Output format string can contain below wildcards. Every wildcard 35 | * must be start with percent sign (\%) 36 | * 37 | * Depending on loglevel, source code is excluded from compile !
38 | *
39 | * Wildcards
40 | *
    41 | *
  • \%s replace with an string (char*)
  • 42 | *
  • \%c replace with an character
  • 43 | *
  • \%d replace with an integer value
  • 44 | *
  • \%l replace with an long value
  • 45 | *
  • \%x replace and convert integer value into hex
  • 46 | *
  • \%X like %x but combine with 0x123AB
  • 47 | *
  • \%b replace and convert integer value into binary
  • 48 | *
  • \%B like %x but combine with 0b10100011
  • 49 | *
  • \%t replace and convert boolean value into "t" or "f"
  • 50 | *
  • \%T like %t but convert into "true" or "false"
  • 51 | *

52 | * Loglevels
53 | * 54 | * 55 | * 56 | * 57 | * 58 | * 59 | *
0LOG_LEVEL_NOOUTPUTno output
1LOG_LEVEL_ERRORSonly errors
2LOG_LEVEL_INFOSerrors and info
3LOG_LEVEL_DEBUGerrors, info and debug
4LOG_LEVEL_VERBOSEall
60 | *
61 | *

History


62 | * 63 | * 64 | * 65 | * 66 | */ 67 | class Logging { 68 | private: 69 | int _level; 70 | long _baud; 71 | public: 72 | /*! 73 | * default Constructor 74 | */ 75 | Logging(){} ; 76 | 77 | /** 78 | * Initializing, must be called as first. 79 | * \param void 80 | * \return void 81 | * 82 | */ 83 | void init(int level, long baud); 84 | void init(int level, long baud, Stream* additionalLogger); 85 | 86 | /** 87 | * Output an error message. Output message contains 88 | * ERROR: followed by original msg 89 | * Error messages are printed out, at every loglevel 90 | * except 0 ;-) 91 | * \param msg format string to output 92 | * \param ... any number of variables 93 | * \return void 94 | */ 95 | void error(const char* msg, ...); 96 | 97 | /** 98 | * Output an info message. Output message contains 99 | * Info messages are printed out at l 100 | * loglevels >= LOG_LEVEL_INFOS 101 | * 102 | * \param msg format string to output 103 | * \param ... any number of variables 104 | * \return void 105 | */ 106 | 107 | void info(const char* msg, ...); 108 | 109 | /** 110 | * Output an debug message. Output message contains 111 | * Debug messages are printed out at l 112 | * loglevels >= LOG_LEVEL_DEBUG 113 | * 114 | * \param msg format string to output 115 | * \param ... any number of variables 116 | * \return void 117 | */ 118 | 119 | void debug(const char* msg, ...); 120 | 121 | /** 122 | * Output an verbose message. Output message contains 123 | * Debug messages are printed out at l 124 | * loglevels >= LOG_LEVEL_VERBOSE 125 | * 126 | * \param msg format string to output 127 | * \param ... any number of variables 128 | * \return void 129 | */ 130 | 131 | void verbose(const char* msg, ...); 132 | 133 | private: 134 | void print(const char *msg); 135 | void printFormat(const char *format, va_list args); 136 | void printFormat(Stream *stream, const char *format, va_list args); 137 | 138 | Stream* _stream; 139 | Stream* _additionalLogger; 140 | }; 141 | 142 | extern Logging Log; 143 | #endif 144 | 145 | 146 | 147 | 148 | -------------------------------------------------------------------------------- /doc/latex/class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph.eps: -------------------------------------------------------------------------------- 1 | %!PS-Adobe-3.0 2 | %%Creator: graphviz version 2.26.3 (20100126.1600) 3 | %%Title: G 4 | %%Pages: (atend) 5 | %%BoundingBox: (atend) 6 | %%EndComments 7 | save 8 | %%BeginProlog 9 | /DotDict 200 dict def 10 | DotDict begin 11 | 12 | /setupLatin1 { 13 | mark 14 | /EncodingVector 256 array def 15 | EncodingVector 0 16 | 17 | ISOLatin1Encoding 0 255 getinterval putinterval 18 | EncodingVector 45 /hyphen put 19 | 20 | % Set up ISO Latin 1 character encoding 21 | /starnetISO { 22 | dup dup findfont dup length dict begin 23 | { 1 index /FID ne { def }{ pop pop } ifelse 24 | } forall 25 | /Encoding EncodingVector def 26 | currentdict end definefont 27 | } def 28 | /Times-Roman starnetISO def 29 | /Times-Italic starnetISO def 30 | /Times-Bold starnetISO def 31 | /Times-BoldItalic starnetISO def 32 | /Helvetica starnetISO def 33 | /Helvetica-Oblique starnetISO def 34 | /Helvetica-Bold starnetISO def 35 | /Helvetica-BoldOblique starnetISO def 36 | /Courier starnetISO def 37 | /Courier-Oblique starnetISO def 38 | /Courier-Bold starnetISO def 39 | /Courier-BoldOblique starnetISO def 40 | cleartomark 41 | } bind def 42 | 43 | %%BeginResource: procset graphviz 0 0 44 | /coord-font-family /Times-Roman def 45 | /default-font-family /Times-Roman def 46 | /coordfont coord-font-family findfont 8 scalefont def 47 | 48 | /InvScaleFactor 1.0 def 49 | /set_scale { 50 | dup 1 exch div /InvScaleFactor exch def 51 | scale 52 | } bind def 53 | 54 | % styles 55 | /solid { [] 0 setdash } bind def 56 | /dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def 57 | /dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def 58 | /invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def 59 | /bold { 2 setlinewidth } bind def 60 | /filled { } bind def 61 | /unfilled { } bind def 62 | /rounded { } bind def 63 | /diagonals { } bind def 64 | 65 | % hooks for setting color 66 | /nodecolor { sethsbcolor } bind def 67 | /edgecolor { sethsbcolor } bind def 68 | /graphcolor { sethsbcolor } bind def 69 | /nopcolor {pop pop pop} bind def 70 | 71 | /beginpage { % i j npages 72 | /npages exch def 73 | /j exch def 74 | /i exch def 75 | /str 10 string def 76 | npages 1 gt { 77 | gsave 78 | coordfont setfont 79 | 0 0 moveto 80 | (\() show i str cvs show (,) show j str cvs show (\)) show 81 | grestore 82 | } if 83 | } bind def 84 | 85 | /set_font { 86 | findfont exch 87 | scalefont setfont 88 | } def 89 | 90 | % draw text fitted to its expected width 91 | /alignedtext { % width text 92 | /text exch def 93 | /width exch def 94 | gsave 95 | width 0 gt { 96 | [] 0 setdash 97 | text stringwidth pop width exch sub text length div 0 text ashow 98 | } if 99 | grestore 100 | } def 101 | 102 | /boxprim { % xcorner ycorner xsize ysize 103 | 4 2 roll 104 | moveto 105 | 2 copy 106 | exch 0 rlineto 107 | 0 exch rlineto 108 | pop neg 0 rlineto 109 | closepath 110 | } bind def 111 | 112 | /ellipse_path { 113 | /ry exch def 114 | /rx exch def 115 | /y exch def 116 | /x exch def 117 | matrix currentmatrix 118 | newpath 119 | x y translate 120 | rx ry scale 121 | 0 0 1 0 360 arc 122 | setmatrix 123 | } bind def 124 | 125 | /endpage { showpage } bind def 126 | /showpage { } def 127 | 128 | /layercolorseq 129 | [ % layer color sequence - darkest to lightest 130 | [0 0 0] 131 | [.2 .8 .8] 132 | [.4 .8 .8] 133 | [.6 .8 .8] 134 | [.8 .8 .8] 135 | ] 136 | def 137 | 138 | /layerlen layercolorseq length def 139 | 140 | /setlayer {/maxlayer exch def /curlayer exch def 141 | layercolorseq curlayer 1 sub layerlen mod get 142 | aload pop sethsbcolor 143 | /nodecolor {nopcolor} def 144 | /edgecolor {nopcolor} def 145 | /graphcolor {nopcolor} def 146 | } bind def 147 | 148 | /onlayer { curlayer ne {invis} if } def 149 | 150 | /onlayers { 151 | /myupper exch def 152 | /mylower exch def 153 | curlayer mylower lt 154 | curlayer myupper gt 155 | or 156 | {invis} if 157 | } def 158 | 159 | /curlayer 0 def 160 | 161 | %%EndResource 162 | %%EndProlog 163 | %%BeginSetup 164 | 14 default-font-family set_font 165 | 1 setmiterlimit 166 | % /arrowlength 10 def 167 | % /arrowwidth 5 def 168 | 169 | % make sure pdfmark is harmless for PS-interpreters other than Distiller 170 | /pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse 171 | % make '<<' and '>>' safe on PS Level 1 devices 172 | /languagelevel where {pop languagelevel}{1} ifelse 173 | 2 lt { 174 | userdict (<<) cvn ([) cvn load put 175 | userdict (>>) cvn ([) cvn load put 176 | } if 177 | 178 | %%EndSetup 179 | setupLatin1 180 | %%Page: 1 1 181 | %%PageBoundingBox: 36 36 240 66 182 | %%PageOrientation: Portrait 183 | 0 0 1 beginpage 184 | gsave 185 | 36 36 204 30 boxprim clip newpath 186 | 1 1 set_scale 0 rotate 40 41 translate 187 | % Node1 188 | gsave 189 | 0 0 0.74902 nodecolor 190 | newpath 0 .5 moveto 191 | 0 21.5 lineto 192 | 84 21.5 lineto 193 | 84 .5 lineto 194 | closepath fill 195 | 1 setlinewidth 196 | filled 197 | 0 0 0 nodecolor 198 | newpath 0 .5 moveto 199 | 0 21.5 lineto 200 | 84 21.5 lineto 201 | 84 .5 lineto 202 | closepath stroke 203 | 0 0 0 nodecolor 204 | 10 /FreeSans set_font 205 | 8 8.5 moveto 68 (Logging::Debug) alignedtext 206 | grestore 207 | % Node2 208 | gsave 209 | [ /Rect [ 121 0 195 22 ] 210 | /Border [ 0 0 0 ] 211 | /Action << /Subtype /URI /URI ($class_logging.html#714840794950ab31df5da5b95322e391) >> 212 | /Subtype /Link 213 | /ANN pdfmark 214 | 1 setlinewidth 215 | 0 0 0 nodecolor 216 | newpath 120.5 .5 moveto 217 | 120.5 21.5 lineto 218 | 195.5 21.5 lineto 219 | 195.5 .5 lineto 220 | closepath stroke 221 | 0 0 0 nodecolor 222 | 10 /FreeSans set_font 223 | 128.5 8.5 moveto 59 (Logging::print) alignedtext 224 | grestore 225 | % Node1->Node2 226 | gsave 227 | 1 setlinewidth 228 | solid 229 | 0.66667 0.77647 0.43922 edgecolor 230 | newpath 84.21 11 moveto 231 | 92.59 11 101.45 11 110.01 11 curveto 232 | stroke 233 | 0.66667 0.77647 0.43922 edgecolor 234 | newpath 110.24 14.5 moveto 235 | 120.24 11 lineto 236 | 110.24 7.5 lineto 237 | closepath fill 238 | 1 setlinewidth 239 | solid 240 | 0.66667 0.77647 0.43922 edgecolor 241 | newpath 110.24 14.5 moveto 242 | 120.24 11 lineto 243 | 110.24 7.5 lineto 244 | closepath stroke 245 | grestore 246 | endpage 247 | showpage 248 | grestore 249 | %%PageTrailer 250 | %%EndPage: 1 251 | %%Trailer 252 | %%Pages: 1 253 | %%BoundingBox: 36 36 240 66 254 | end 255 | restore 256 | %%EOF 257 | -------------------------------------------------------------------------------- /doc/latex/class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph.eps: -------------------------------------------------------------------------------- 1 | %!PS-Adobe-3.0 2 | %%Creator: graphviz version 2.26.3 (20100126.1600) 3 | %%Title: G 4 | %%Pages: (atend) 5 | %%BoundingBox: (atend) 6 | %%EndComments 7 | save 8 | %%BeginProlog 9 | /DotDict 200 dict def 10 | DotDict begin 11 | 12 | /setupLatin1 { 13 | mark 14 | /EncodingVector 256 array def 15 | EncodingVector 0 16 | 17 | ISOLatin1Encoding 0 255 getinterval putinterval 18 | EncodingVector 45 /hyphen put 19 | 20 | % Set up ISO Latin 1 character encoding 21 | /starnetISO { 22 | dup dup findfont dup length dict begin 23 | { 1 index /FID ne { def }{ pop pop } ifelse 24 | } forall 25 | /Encoding EncodingVector def 26 | currentdict end definefont 27 | } def 28 | /Times-Roman starnetISO def 29 | /Times-Italic starnetISO def 30 | /Times-Bold starnetISO def 31 | /Times-BoldItalic starnetISO def 32 | /Helvetica starnetISO def 33 | /Helvetica-Oblique starnetISO def 34 | /Helvetica-Bold starnetISO def 35 | /Helvetica-BoldOblique starnetISO def 36 | /Courier starnetISO def 37 | /Courier-Oblique starnetISO def 38 | /Courier-Bold starnetISO def 39 | /Courier-BoldOblique starnetISO def 40 | cleartomark 41 | } bind def 42 | 43 | %%BeginResource: procset graphviz 0 0 44 | /coord-font-family /Times-Roman def 45 | /default-font-family /Times-Roman def 46 | /coordfont coord-font-family findfont 8 scalefont def 47 | 48 | /InvScaleFactor 1.0 def 49 | /set_scale { 50 | dup 1 exch div /InvScaleFactor exch def 51 | scale 52 | } bind def 53 | 54 | % styles 55 | /solid { [] 0 setdash } bind def 56 | /dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def 57 | /dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def 58 | /invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def 59 | /bold { 2 setlinewidth } bind def 60 | /filled { } bind def 61 | /unfilled { } bind def 62 | /rounded { } bind def 63 | /diagonals { } bind def 64 | 65 | % hooks for setting color 66 | /nodecolor { sethsbcolor } bind def 67 | /edgecolor { sethsbcolor } bind def 68 | /graphcolor { sethsbcolor } bind def 69 | /nopcolor {pop pop pop} bind def 70 | 71 | /beginpage { % i j npages 72 | /npages exch def 73 | /j exch def 74 | /i exch def 75 | /str 10 string def 76 | npages 1 gt { 77 | gsave 78 | coordfont setfont 79 | 0 0 moveto 80 | (\() show i str cvs show (,) show j str cvs show (\)) show 81 | grestore 82 | } if 83 | } bind def 84 | 85 | /set_font { 86 | findfont exch 87 | scalefont setfont 88 | } def 89 | 90 | % draw text fitted to its expected width 91 | /alignedtext { % width text 92 | /text exch def 93 | /width exch def 94 | gsave 95 | width 0 gt { 96 | [] 0 setdash 97 | text stringwidth pop width exch sub text length div 0 text ashow 98 | } if 99 | grestore 100 | } def 101 | 102 | /boxprim { % xcorner ycorner xsize ysize 103 | 4 2 roll 104 | moveto 105 | 2 copy 106 | exch 0 rlineto 107 | 0 exch rlineto 108 | pop neg 0 rlineto 109 | closepath 110 | } bind def 111 | 112 | /ellipse_path { 113 | /ry exch def 114 | /rx exch def 115 | /y exch def 116 | /x exch def 117 | matrix currentmatrix 118 | newpath 119 | x y translate 120 | rx ry scale 121 | 0 0 1 0 360 arc 122 | setmatrix 123 | } bind def 124 | 125 | /endpage { showpage } bind def 126 | /showpage { } def 127 | 128 | /layercolorseq 129 | [ % layer color sequence - darkest to lightest 130 | [0 0 0] 131 | [.2 .8 .8] 132 | [.4 .8 .8] 133 | [.6 .8 .8] 134 | [.8 .8 .8] 135 | ] 136 | def 137 | 138 | /layerlen layercolorseq length def 139 | 140 | /setlayer {/maxlayer exch def /curlayer exch def 141 | layercolorseq curlayer 1 sub layerlen mod get 142 | aload pop sethsbcolor 143 | /nodecolor {nopcolor} def 144 | /edgecolor {nopcolor} def 145 | /graphcolor {nopcolor} def 146 | } bind def 147 | 148 | /onlayer { curlayer ne {invis} if } def 149 | 150 | /onlayers { 151 | /myupper exch def 152 | /mylower exch def 153 | curlayer mylower lt 154 | curlayer myupper gt 155 | or 156 | {invis} if 157 | } def 158 | 159 | /curlayer 0 def 160 | 161 | %%EndResource 162 | %%EndProlog 163 | %%BeginSetup 164 | 14 default-font-family set_font 165 | 1 setmiterlimit 166 | % /arrowlength 10 def 167 | % /arrowwidth 5 def 168 | 169 | % make sure pdfmark is harmless for PS-interpreters other than Distiller 170 | /pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse 171 | % make '<<' and '>>' safe on PS Level 1 devices 172 | /languagelevel where {pop languagelevel}{1} ifelse 173 | 2 lt { 174 | userdict (<<) cvn ([) cvn load put 175 | userdict (>>) cvn ([) cvn load put 176 | } if 177 | 178 | %%EndSetup 179 | setupLatin1 180 | %%Page: 1 1 181 | %%PageBoundingBox: 36 36 248 66 182 | %%PageOrientation: Portrait 183 | 0 0 1 beginpage 184 | gsave 185 | 36 36 212 30 boxprim clip newpath 186 | 1 1 set_scale 0 rotate 40 41 translate 187 | % Node1 188 | gsave 189 | 0 0 0.74902 nodecolor 190 | newpath 0 .5 moveto 191 | 0 21.5 lineto 192 | 92 21.5 lineto 193 | 92 .5 lineto 194 | closepath fill 195 | 1 setlinewidth 196 | filled 197 | 0 0 0 nodecolor 198 | newpath 0 .5 moveto 199 | 0 21.5 lineto 200 | 92 21.5 lineto 201 | 92 .5 lineto 202 | closepath stroke 203 | 0 0 0 nodecolor 204 | 10 /FreeSans set_font 205 | 8 8.5 moveto 76 (Logging::Verbose) alignedtext 206 | grestore 207 | % Node2 208 | gsave 209 | [ /Rect [ 129 0 203 22 ] 210 | /Border [ 0 0 0 ] 211 | /Action << /Subtype /URI /URI ($class_logging.html#714840794950ab31df5da5b95322e391) >> 212 | /Subtype /Link 213 | /ANN pdfmark 214 | 1 setlinewidth 215 | 0 0 0 nodecolor 216 | newpath 128.5 .5 moveto 217 | 128.5 21.5 lineto 218 | 203.5 21.5 lineto 219 | 203.5 .5 lineto 220 | closepath stroke 221 | 0 0 0 nodecolor 222 | 10 /FreeSans set_font 223 | 136.5 8.5 moveto 59 (Logging::print) alignedtext 224 | grestore 225 | % Node1->Node2 226 | gsave 227 | 1 setlinewidth 228 | solid 229 | 0.66667 0.77647 0.43922 edgecolor 230 | newpath 92.05 11 moveto 231 | 100.6 11 109.56 11 118.16 11 curveto 232 | stroke 233 | 0.66667 0.77647 0.43922 edgecolor 234 | newpath 118.43 14.5 moveto 235 | 128.43 11 lineto 236 | 118.43 7.5 lineto 237 | closepath fill 238 | 1 setlinewidth 239 | solid 240 | 0.66667 0.77647 0.43922 edgecolor 241 | newpath 118.43 14.5 moveto 242 | 128.43 11 lineto 243 | 118.43 7.5 lineto 244 | closepath stroke 245 | grestore 246 | endpage 247 | showpage 248 | grestore 249 | %%PageTrailer 250 | %%EndPage: 1 251 | %%Trailer 252 | %%Pages: 1 253 | %%BoundingBox: 36 36 248 66 254 | end 255 | restore 256 | %%EOF 257 | -------------------------------------------------------------------------------- /doc/latex/class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph.eps: -------------------------------------------------------------------------------- 1 | %!PS-Adobe-3.0 2 | %%Creator: graphviz version 2.26.3 (20100126.1600) 3 | %%Title: G 4 | %%Pages: (atend) 5 | %%BoundingBox: (atend) 6 | %%EndComments 7 | save 8 | %%BeginProlog 9 | /DotDict 200 dict def 10 | DotDict begin 11 | 12 | /setupLatin1 { 13 | mark 14 | /EncodingVector 256 array def 15 | EncodingVector 0 16 | 17 | ISOLatin1Encoding 0 255 getinterval putinterval 18 | EncodingVector 45 /hyphen put 19 | 20 | % Set up ISO Latin 1 character encoding 21 | /starnetISO { 22 | dup dup findfont dup length dict begin 23 | { 1 index /FID ne { def }{ pop pop } ifelse 24 | } forall 25 | /Encoding EncodingVector def 26 | currentdict end definefont 27 | } def 28 | /Times-Roman starnetISO def 29 | /Times-Italic starnetISO def 30 | /Times-Bold starnetISO def 31 | /Times-BoldItalic starnetISO def 32 | /Helvetica starnetISO def 33 | /Helvetica-Oblique starnetISO def 34 | /Helvetica-Bold starnetISO def 35 | /Helvetica-BoldOblique starnetISO def 36 | /Courier starnetISO def 37 | /Courier-Oblique starnetISO def 38 | /Courier-Bold starnetISO def 39 | /Courier-BoldOblique starnetISO def 40 | cleartomark 41 | } bind def 42 | 43 | %%BeginResource: procset graphviz 0 0 44 | /coord-font-family /Times-Roman def 45 | /default-font-family /Times-Roman def 46 | /coordfont coord-font-family findfont 8 scalefont def 47 | 48 | /InvScaleFactor 1.0 def 49 | /set_scale { 50 | dup 1 exch div /InvScaleFactor exch def 51 | scale 52 | } bind def 53 | 54 | % styles 55 | /solid { [] 0 setdash } bind def 56 | /dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def 57 | /dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def 58 | /invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def 59 | /bold { 2 setlinewidth } bind def 60 | /filled { } bind def 61 | /unfilled { } bind def 62 | /rounded { } bind def 63 | /diagonals { } bind def 64 | 65 | % hooks for setting color 66 | /nodecolor { sethsbcolor } bind def 67 | /edgecolor { sethsbcolor } bind def 68 | /graphcolor { sethsbcolor } bind def 69 | /nopcolor {pop pop pop} bind def 70 | 71 | /beginpage { % i j npages 72 | /npages exch def 73 | /j exch def 74 | /i exch def 75 | /str 10 string def 76 | npages 1 gt { 77 | gsave 78 | coordfont setfont 79 | 0 0 moveto 80 | (\() show i str cvs show (,) show j str cvs show (\)) show 81 | grestore 82 | } if 83 | } bind def 84 | 85 | /set_font { 86 | findfont exch 87 | scalefont setfont 88 | } def 89 | 90 | % draw text fitted to its expected width 91 | /alignedtext { % width text 92 | /text exch def 93 | /width exch def 94 | gsave 95 | width 0 gt { 96 | [] 0 setdash 97 | text stringwidth pop width exch sub text length div 0 text ashow 98 | } if 99 | grestore 100 | } def 101 | 102 | /boxprim { % xcorner ycorner xsize ysize 103 | 4 2 roll 104 | moveto 105 | 2 copy 106 | exch 0 rlineto 107 | 0 exch rlineto 108 | pop neg 0 rlineto 109 | closepath 110 | } bind def 111 | 112 | /ellipse_path { 113 | /ry exch def 114 | /rx exch def 115 | /y exch def 116 | /x exch def 117 | matrix currentmatrix 118 | newpath 119 | x y translate 120 | rx ry scale 121 | 0 0 1 0 360 arc 122 | setmatrix 123 | } bind def 124 | 125 | /endpage { showpage } bind def 126 | /showpage { } def 127 | 128 | /layercolorseq 129 | [ % layer color sequence - darkest to lightest 130 | [0 0 0] 131 | [.2 .8 .8] 132 | [.4 .8 .8] 133 | [.6 .8 .8] 134 | [.8 .8 .8] 135 | ] 136 | def 137 | 138 | /layerlen layercolorseq length def 139 | 140 | /setlayer {/maxlayer exch def /curlayer exch def 141 | layercolorseq curlayer 1 sub layerlen mod get 142 | aload pop sethsbcolor 143 | /nodecolor {nopcolor} def 144 | /edgecolor {nopcolor} def 145 | /graphcolor {nopcolor} def 146 | } bind def 147 | 148 | /onlayer { curlayer ne {invis} if } def 149 | 150 | /onlayers { 151 | /myupper exch def 152 | /mylower exch def 153 | curlayer mylower lt 154 | curlayer myupper gt 155 | or 156 | {invis} if 157 | } def 158 | 159 | /curlayer 0 def 160 | 161 | %%EndResource 162 | %%EndProlog 163 | %%BeginSetup 164 | 14 default-font-family set_font 165 | 1 setmiterlimit 166 | % /arrowlength 10 def 167 | % /arrowwidth 5 def 168 | 169 | % make sure pdfmark is harmless for PS-interpreters other than Distiller 170 | /pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse 171 | % make '<<' and '>>' safe on PS Level 1 devices 172 | /languagelevel where {pop languagelevel}{1} ifelse 173 | 2 lt { 174 | userdict (<<) cvn ([) cvn load put 175 | userdict (>>) cvn ([) cvn load put 176 | } if 177 | 178 | %%EndSetup 179 | setupLatin1 180 | %%Page: 1 1 181 | %%PageBoundingBox: 36 36 228 66 182 | %%PageOrientation: Portrait 183 | 0 0 1 beginpage 184 | gsave 185 | 36 36 192 30 boxprim clip newpath 186 | 1 1 set_scale 0 rotate 40 41 translate 187 | % Node1 188 | gsave 189 | 0 0 0.74902 nodecolor 190 | newpath .5 .5 moveto 191 | .5 21.5 lineto 192 | 71.5 21.5 lineto 193 | 71.5 .5 lineto 194 | closepath fill 195 | 1 setlinewidth 196 | filled 197 | 0 0 0 nodecolor 198 | newpath .5 .5 moveto 199 | .5 21.5 lineto 200 | 71.5 21.5 lineto 201 | 71.5 .5 lineto 202 | closepath stroke 203 | 0 0 0 nodecolor 204 | 10 /FreeSans set_font 205 | 8.5 8.5 moveto 55 (Logging::Info) alignedtext 206 | grestore 207 | % Node2 208 | gsave 209 | [ /Rect [ 109 0 183 22 ] 210 | /Border [ 0 0 0 ] 211 | /Action << /Subtype /URI /URI ($class_logging.html#714840794950ab31df5da5b95322e391) >> 212 | /Subtype /Link 213 | /ANN pdfmark 214 | 1 setlinewidth 215 | 0 0 0 nodecolor 216 | newpath 108.5 .5 moveto 217 | 108.5 21.5 lineto 218 | 183.5 21.5 lineto 219 | 183.5 .5 lineto 220 | closepath stroke 221 | 0 0 0 nodecolor 222 | 10 /FreeSans set_font 223 | 116.5 8.5 moveto 59 (Logging::print) alignedtext 224 | grestore 225 | % Node1->Node2 226 | gsave 227 | 1 setlinewidth 228 | solid 229 | 0.66667 0.77647 0.43922 edgecolor 230 | newpath 71.71 11 moveto 231 | 80.1 11 89.17 11 98 11 curveto 232 | stroke 233 | 0.66667 0.77647 0.43922 edgecolor 234 | newpath 98.19 14.5 moveto 235 | 108.19 11 lineto 236 | 98.19 7.5 lineto 237 | closepath fill 238 | 1 setlinewidth 239 | solid 240 | 0.66667 0.77647 0.43922 edgecolor 241 | newpath 98.19 14.5 moveto 242 | 108.19 11 lineto 243 | 98.19 7.5 lineto 244 | closepath stroke 245 | grestore 246 | endpage 247 | showpage 248 | grestore 249 | %%PageTrailer 250 | %%EndPage: 1 251 | %%Trailer 252 | %%Pages: 1 253 | %%BoundingBox: 36 36 228 66 254 | end 255 | restore 256 | %%EOF 257 | -------------------------------------------------------------------------------- /doc/latex/class_logging_1cf44ab531c72761fba811882336a2ad_cgraph.eps: -------------------------------------------------------------------------------- 1 | %!PS-Adobe-3.0 2 | %%Creator: graphviz version 2.26.3 (20100126.1600) 3 | %%Title: G 4 | %%Pages: (atend) 5 | %%BoundingBox: (atend) 6 | %%EndComments 7 | save 8 | %%BeginProlog 9 | /DotDict 200 dict def 10 | DotDict begin 11 | 12 | /setupLatin1 { 13 | mark 14 | /EncodingVector 256 array def 15 | EncodingVector 0 16 | 17 | ISOLatin1Encoding 0 255 getinterval putinterval 18 | EncodingVector 45 /hyphen put 19 | 20 | % Set up ISO Latin 1 character encoding 21 | /starnetISO { 22 | dup dup findfont dup length dict begin 23 | { 1 index /FID ne { def }{ pop pop } ifelse 24 | } forall 25 | /Encoding EncodingVector def 26 | currentdict end definefont 27 | } def 28 | /Times-Roman starnetISO def 29 | /Times-Italic starnetISO def 30 | /Times-Bold starnetISO def 31 | /Times-BoldItalic starnetISO def 32 | /Helvetica starnetISO def 33 | /Helvetica-Oblique starnetISO def 34 | /Helvetica-Bold starnetISO def 35 | /Helvetica-BoldOblique starnetISO def 36 | /Courier starnetISO def 37 | /Courier-Oblique starnetISO def 38 | /Courier-Bold starnetISO def 39 | /Courier-BoldOblique starnetISO def 40 | cleartomark 41 | } bind def 42 | 43 | %%BeginResource: procset graphviz 0 0 44 | /coord-font-family /Times-Roman def 45 | /default-font-family /Times-Roman def 46 | /coordfont coord-font-family findfont 8 scalefont def 47 | 48 | /InvScaleFactor 1.0 def 49 | /set_scale { 50 | dup 1 exch div /InvScaleFactor exch def 51 | scale 52 | } bind def 53 | 54 | % styles 55 | /solid { [] 0 setdash } bind def 56 | /dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def 57 | /dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def 58 | /invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def 59 | /bold { 2 setlinewidth } bind def 60 | /filled { } bind def 61 | /unfilled { } bind def 62 | /rounded { } bind def 63 | /diagonals { } bind def 64 | 65 | % hooks for setting color 66 | /nodecolor { sethsbcolor } bind def 67 | /edgecolor { sethsbcolor } bind def 68 | /graphcolor { sethsbcolor } bind def 69 | /nopcolor {pop pop pop} bind def 70 | 71 | /beginpage { % i j npages 72 | /npages exch def 73 | /j exch def 74 | /i exch def 75 | /str 10 string def 76 | npages 1 gt { 77 | gsave 78 | coordfont setfont 79 | 0 0 moveto 80 | (\() show i str cvs show (,) show j str cvs show (\)) show 81 | grestore 82 | } if 83 | } bind def 84 | 85 | /set_font { 86 | findfont exch 87 | scalefont setfont 88 | } def 89 | 90 | % draw text fitted to its expected width 91 | /alignedtext { % width text 92 | /text exch def 93 | /width exch def 94 | gsave 95 | width 0 gt { 96 | [] 0 setdash 97 | text stringwidth pop width exch sub text length div 0 text ashow 98 | } if 99 | grestore 100 | } def 101 | 102 | /boxprim { % xcorner ycorner xsize ysize 103 | 4 2 roll 104 | moveto 105 | 2 copy 106 | exch 0 rlineto 107 | 0 exch rlineto 108 | pop neg 0 rlineto 109 | closepath 110 | } bind def 111 | 112 | /ellipse_path { 113 | /ry exch def 114 | /rx exch def 115 | /y exch def 116 | /x exch def 117 | matrix currentmatrix 118 | newpath 119 | x y translate 120 | rx ry scale 121 | 0 0 1 0 360 arc 122 | setmatrix 123 | } bind def 124 | 125 | /endpage { showpage } bind def 126 | /showpage { } def 127 | 128 | /layercolorseq 129 | [ % layer color sequence - darkest to lightest 130 | [0 0 0] 131 | [.2 .8 .8] 132 | [.4 .8 .8] 133 | [.6 .8 .8] 134 | [.8 .8 .8] 135 | ] 136 | def 137 | 138 | /layerlen layercolorseq length def 139 | 140 | /setlayer {/maxlayer exch def /curlayer exch def 141 | layercolorseq curlayer 1 sub layerlen mod get 142 | aload pop sethsbcolor 143 | /nodecolor {nopcolor} def 144 | /edgecolor {nopcolor} def 145 | /graphcolor {nopcolor} def 146 | } bind def 147 | 148 | /onlayer { curlayer ne {invis} if } def 149 | 150 | /onlayers { 151 | /myupper exch def 152 | /mylower exch def 153 | curlayer mylower lt 154 | curlayer myupper gt 155 | or 156 | {invis} if 157 | } def 158 | 159 | /curlayer 0 def 160 | 161 | %%EndResource 162 | %%EndProlog 163 | %%BeginSetup 164 | 14 default-font-family set_font 165 | 1 setmiterlimit 166 | % /arrowlength 10 def 167 | % /arrowwidth 5 def 168 | 169 | % make sure pdfmark is harmless for PS-interpreters other than Distiller 170 | /pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse 171 | % make '<<' and '>>' safe on PS Level 1 devices 172 | /languagelevel where {pop languagelevel}{1} ifelse 173 | 2 lt { 174 | userdict (<<) cvn ([) cvn load put 175 | userdict (>>) cvn ([) cvn load put 176 | } if 177 | 178 | %%EndSetup 179 | setupLatin1 180 | %%Page: 1 1 181 | %%PageBoundingBox: 36 36 234 66 182 | %%PageOrientation: Portrait 183 | 0 0 1 beginpage 184 | gsave 185 | 36 36 198 30 boxprim clip newpath 186 | 1 1 set_scale 0 rotate 40 41 translate 187 | % Node1 188 | gsave 189 | 0 0 0.74902 nodecolor 190 | newpath .5 .5 moveto 191 | .5 21.5 lineto 192 | 77.5 21.5 lineto 193 | 77.5 .5 lineto 194 | closepath fill 195 | 1 setlinewidth 196 | filled 197 | 0 0 0 nodecolor 198 | newpath .5 .5 moveto 199 | .5 21.5 lineto 200 | 77.5 21.5 lineto 201 | 77.5 .5 lineto 202 | closepath stroke 203 | 0 0 0 nodecolor 204 | 10 /FreeSans set_font 205 | 8.5 8.5 moveto 61 (Logging::Error) alignedtext 206 | grestore 207 | % Node2 208 | gsave 209 | [ /Rect [ 115 0 189 22 ] 210 | /Border [ 0 0 0 ] 211 | /Action << /Subtype /URI /URI ($class_logging.html#714840794950ab31df5da5b95322e391) >> 212 | /Subtype /Link 213 | /ANN pdfmark 214 | 1 setlinewidth 215 | 0 0 0 nodecolor 216 | newpath 114.5 .5 moveto 217 | 114.5 21.5 lineto 218 | 189.5 21.5 lineto 219 | 189.5 .5 lineto 220 | closepath stroke 221 | 0 0 0 nodecolor 222 | 10 /FreeSans set_font 223 | 122.5 8.5 moveto 59 (Logging::print) alignedtext 224 | grestore 225 | % Node1->Node2 226 | gsave 227 | 1 setlinewidth 228 | solid 229 | 0.66667 0.77647 0.43922 edgecolor 230 | newpath 77.57 11 moveto 231 | 86.12 11 95.28 11 104.14 11 curveto 232 | stroke 233 | 0.66667 0.77647 0.43922 edgecolor 234 | newpath 104.37 14.5 moveto 235 | 114.37 11 lineto 236 | 104.37 7.5 lineto 237 | closepath fill 238 | 1 setlinewidth 239 | solid 240 | 0.66667 0.77647 0.43922 edgecolor 241 | newpath 104.37 14.5 moveto 242 | 114.37 11 lineto 243 | 104.37 7.5 lineto 244 | closepath stroke 245 | grestore 246 | endpage 247 | showpage 248 | grestore 249 | %%PageTrailer 250 | %%EndPage: 1 251 | %%Trailer 252 | %%Pages: 1 253 | %%BoundingBox: 36 36 234 66 254 | end 255 | restore 256 | %%EOF 257 | -------------------------------------------------------------------------------- /doc/latex/_logging_8h.tex: -------------------------------------------------------------------------------- 1 | \hypertarget{_logging_8h}{ 2 | \section{K:/Projekte/robotic/arduino/arduino\_\-1-0Patch/libraries/Logging/Logging.h File Reference} 3 | \label{_logging_8h}\index{K:/Projekte/robotic/arduino/arduino\_\-1-0Patch/libraries/Logging/Logging.h@{K:/Projekte/robotic/arduino/arduino\_\-1-0Patch/libraries/Logging/Logging.h}} 4 | } 5 | {\tt \#include $<$inttypes.h$>$}\par 6 | {\tt \#include $<$stdarg.h$>$}\par 7 | {\tt \#include \char`\"{}WProgram.h\char`\"{}}\par 8 | {\tt \#include $<$avr/io.h$>$}\par 9 | 10 | 11 | Include dependency graph for Logging.h:\nopagebreak 12 | \begin{figure}[H] 13 | \begin{center} 14 | \leavevmode 15 | \includegraphics[width=186pt]{_logging_8h__incl} 16 | \end{center} 17 | \end{figure} 18 | 19 | 20 | This graph shows which files directly or indirectly include this file:\nopagebreak 21 | \begin{figure}[H] 22 | \begin{center} 23 | \leavevmode 24 | \includegraphics[width=192pt]{_logging_8h__dep__incl} 25 | \end{center} 26 | \end{figure} 27 | \subsection*{Classes} 28 | \begin{CompactItemize} 29 | \item 30 | class \hyperlink{class_logging}{Logging} 31 | \end{CompactItemize} 32 | \subsection*{Defines} 33 | \begin{CompactItemize} 34 | \item 35 | \#define \hyperlink{_logging_8h_33ec8ee51526c3b2008ed92830c1da16}{LOG\_\-LEVEL\_\-NOOUTPUT}~0 36 | \item 37 | \#define \hyperlink{_logging_8h_ec8706c3ef9b186e438cccf4a02ccc78}{LOG\_\-LEVEL\_\-ERRORS}~1 38 | \item 39 | \#define \hyperlink{_logging_8h_660a0bd19f239a2e586f9a432395289e}{LOG\_\-LEVEL\_\-INFOS}~2 40 | \item 41 | \#define \hyperlink{_logging_8h_130224df8c6bf22a688e3cb74a45689a}{LOG\_\-LEVEL\_\-DEBUG}~3 42 | \item 43 | \#define \hyperlink{_logging_8h_7d2f762be61df3727748e69e4ff197c2}{LOG\_\-LEVEL\_\-VERBOSE}~4 44 | \item 45 | \#define \hyperlink{_logging_8h_6c6fd5e242df15a7a42e9b75d55d5d3c}{LOGLEVEL}~LOG\_\-LEVEL\_\-DEBUG 46 | \item 47 | \#define \hyperlink{_logging_8h_876ce77f3c672c7162658151e648389e}{CR}~\char`\"{}$\backslash$r$\backslash$n\char`\"{} 48 | \item 49 | \#define \hyperlink{_logging_8h_7e6435a637199b392c536e50a8334d32}{LOGGING\_\-VERSION}~1 50 | \end{CompactItemize} 51 | \subsection*{Variables} 52 | \begin{CompactItemize} 53 | \item 54 | \hyperlink{class_logging}{Logging} \hyperlink{_logging_8h_f8164407f3289dde66d36070af4244c1}{Log} 55 | \end{CompactItemize} 56 | 57 | 58 | \subsection{Define Documentation} 59 | \hypertarget{_logging_8h_876ce77f3c672c7162658151e648389e}{ 60 | \index{Logging.h@{Logging.h}!CR@{CR}} 61 | \index{CR@{CR}!Logging.h@{Logging.h}} 62 | \subsubsection[CR]{\setlength{\rightskip}{0pt plus 5cm}\#define CR~\char`\"{}$\backslash$r$\backslash$n\char`\"{}}} 63 | \label{_logging_8h_876ce77f3c672c7162658151e648389e} 64 | 65 | 66 | 67 | 68 | Definition at line 26 of file Logging.h.\hypertarget{_logging_8h_130224df8c6bf22a688e3cb74a45689a}{ 69 | \index{Logging.h@{Logging.h}!LOG\_\-LEVEL\_\-DEBUG@{LOG\_\-LEVEL\_\-DEBUG}} 70 | \index{LOG\_\-LEVEL\_\-DEBUG@{LOG\_\-LEVEL\_\-DEBUG}!Logging.h@{Logging.h}} 71 | \subsubsection[LOG\_\-LEVEL\_\-DEBUG]{\setlength{\rightskip}{0pt plus 5cm}\#define LOG\_\-LEVEL\_\-DEBUG~3}} 72 | \label{_logging_8h_130224df8c6bf22a688e3cb74a45689a} 73 | 74 | 75 | 76 | 77 | Definition at line 19 of file Logging.h. 78 | 79 | Referenced by Logging::Debug().\hypertarget{_logging_8h_ec8706c3ef9b186e438cccf4a02ccc78}{ 80 | \index{Logging.h@{Logging.h}!LOG\_\-LEVEL\_\-ERRORS@{LOG\_\-LEVEL\_\-ERRORS}} 81 | \index{LOG\_\-LEVEL\_\-ERRORS@{LOG\_\-LEVEL\_\-ERRORS}!Logging.h@{Logging.h}} 82 | \subsubsection[LOG\_\-LEVEL\_\-ERRORS]{\setlength{\rightskip}{0pt plus 5cm}\#define LOG\_\-LEVEL\_\-ERRORS~1}} 83 | \label{_logging_8h_ec8706c3ef9b186e438cccf4a02ccc78} 84 | 85 | 86 | 87 | 88 | Definition at line 17 of file Logging.h. 89 | 90 | Referenced by Logging::Error().\hypertarget{_logging_8h_660a0bd19f239a2e586f9a432395289e}{ 91 | \index{Logging.h@{Logging.h}!LOG\_\-LEVEL\_\-INFOS@{LOG\_\-LEVEL\_\-INFOS}} 92 | \index{LOG\_\-LEVEL\_\-INFOS@{LOG\_\-LEVEL\_\-INFOS}!Logging.h@{Logging.h}} 93 | \subsubsection[LOG\_\-LEVEL\_\-INFOS]{\setlength{\rightskip}{0pt plus 5cm}\#define LOG\_\-LEVEL\_\-INFOS~2}} 94 | \label{_logging_8h_660a0bd19f239a2e586f9a432395289e} 95 | 96 | 97 | 98 | 99 | Definition at line 18 of file Logging.h. 100 | 101 | Referenced by Logging::Info().\hypertarget{_logging_8h_33ec8ee51526c3b2008ed92830c1da16}{ 102 | \index{Logging.h@{Logging.h}!LOG\_\-LEVEL\_\-NOOUTPUT@{LOG\_\-LEVEL\_\-NOOUTPUT}} 103 | \index{LOG\_\-LEVEL\_\-NOOUTPUT@{LOG\_\-LEVEL\_\-NOOUTPUT}!Logging.h@{Logging.h}} 104 | \subsubsection[LOG\_\-LEVEL\_\-NOOUTPUT]{\setlength{\rightskip}{0pt plus 5cm}\#define LOG\_\-LEVEL\_\-NOOUTPUT~0}} 105 | \label{_logging_8h_33ec8ee51526c3b2008ed92830c1da16} 106 | 107 | 108 | 109 | 110 | Definition at line 16 of file Logging.h. 111 | 112 | Referenced by Logging::Init().\hypertarget{_logging_8h_7d2f762be61df3727748e69e4ff197c2}{ 113 | \index{Logging.h@{Logging.h}!LOG\_\-LEVEL\_\-VERBOSE@{LOG\_\-LEVEL\_\-VERBOSE}} 114 | \index{LOG\_\-LEVEL\_\-VERBOSE@{LOG\_\-LEVEL\_\-VERBOSE}!Logging.h@{Logging.h}} 115 | \subsubsection[LOG\_\-LEVEL\_\-VERBOSE]{\setlength{\rightskip}{0pt plus 5cm}\#define LOG\_\-LEVEL\_\-VERBOSE~4}} 116 | \label{_logging_8h_7d2f762be61df3727748e69e4ff197c2} 117 | 118 | 119 | 120 | 121 | Definition at line 20 of file Logging.h. 122 | 123 | Referenced by Logging::Init(), and Logging::Verbose().\hypertarget{_logging_8h_7e6435a637199b392c536e50a8334d32}{ 124 | \index{Logging.h@{Logging.h}!LOGGING\_\-VERSION@{LOGGING\_\-VERSION}} 125 | \index{LOGGING\_\-VERSION@{LOGGING\_\-VERSION}!Logging.h@{Logging.h}} 126 | \subsubsection[LOGGING\_\-VERSION]{\setlength{\rightskip}{0pt plus 5cm}\#define LOGGING\_\-VERSION~1}} 127 | \label{_logging_8h_7e6435a637199b392c536e50a8334d32} 128 | 129 | 130 | 131 | 132 | Definition at line 27 of file Logging.h.\hypertarget{_logging_8h_6c6fd5e242df15a7a42e9b75d55d5d3c}{ 133 | \index{Logging.h@{Logging.h}!LOGLEVEL@{LOGLEVEL}} 134 | \index{LOGLEVEL@{LOGLEVEL}!Logging.h@{Logging.h}} 135 | \subsubsection[LOGLEVEL]{\setlength{\rightskip}{0pt plus 5cm}\#define LOGLEVEL~LOG\_\-LEVEL\_\-DEBUG}} 136 | \label{_logging_8h_6c6fd5e242df15a7a42e9b75d55d5d3c} 137 | 138 | 139 | 140 | 141 | Definition at line 23 of file Logging.h. 142 | 143 | \subsection{Variable Documentation} 144 | \hypertarget{_logging_8h_f8164407f3289dde66d36070af4244c1}{ 145 | \index{Logging.h@{Logging.h}!Log@{Log}} 146 | \index{Log@{Log}!Logging.h@{Logging.h}} 147 | \subsubsection[Log]{\setlength{\rightskip}{0pt plus 5cm}{\bf Logging} {\bf Log}}} 148 | \label{_logging_8h_f8164407f3289dde66d36070af4244c1} 149 | 150 | 151 | 152 | 153 | Definition at line 117 of file Logging.cpp. -------------------------------------------------------------------------------- /doc/latex/_logging_8h__dep__incl.eps: -------------------------------------------------------------------------------- 1 | %!PS-Adobe-3.0 2 | %%Creator: graphviz version 2.26.3 (20100126.1600) 3 | %%Title: G 4 | %%Pages: (atend) 5 | %%BoundingBox: (atend) 6 | %%EndComments 7 | save 8 | %%BeginProlog 9 | /DotDict 200 dict def 10 | DotDict begin 11 | 12 | /setupLatin1 { 13 | mark 14 | /EncodingVector 256 array def 15 | EncodingVector 0 16 | 17 | ISOLatin1Encoding 0 255 getinterval putinterval 18 | EncodingVector 45 /hyphen put 19 | 20 | % Set up ISO Latin 1 character encoding 21 | /starnetISO { 22 | dup dup findfont dup length dict begin 23 | { 1 index /FID ne { def }{ pop pop } ifelse 24 | } forall 25 | /Encoding EncodingVector def 26 | currentdict end definefont 27 | } def 28 | /Times-Roman starnetISO def 29 | /Times-Italic starnetISO def 30 | /Times-Bold starnetISO def 31 | /Times-BoldItalic starnetISO def 32 | /Helvetica starnetISO def 33 | /Helvetica-Oblique starnetISO def 34 | /Helvetica-Bold starnetISO def 35 | /Helvetica-BoldOblique starnetISO def 36 | /Courier starnetISO def 37 | /Courier-Oblique starnetISO def 38 | /Courier-Bold starnetISO def 39 | /Courier-BoldOblique starnetISO def 40 | cleartomark 41 | } bind def 42 | 43 | %%BeginResource: procset graphviz 0 0 44 | /coord-font-family /Times-Roman def 45 | /default-font-family /Times-Roman def 46 | /coordfont coord-font-family findfont 8 scalefont def 47 | 48 | /InvScaleFactor 1.0 def 49 | /set_scale { 50 | dup 1 exch div /InvScaleFactor exch def 51 | scale 52 | } bind def 53 | 54 | % styles 55 | /solid { [] 0 setdash } bind def 56 | /dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def 57 | /dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def 58 | /invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def 59 | /bold { 2 setlinewidth } bind def 60 | /filled { } bind def 61 | /unfilled { } bind def 62 | /rounded { } bind def 63 | /diagonals { } bind def 64 | 65 | % hooks for setting color 66 | /nodecolor { sethsbcolor } bind def 67 | /edgecolor { sethsbcolor } bind def 68 | /graphcolor { sethsbcolor } bind def 69 | /nopcolor {pop pop pop} bind def 70 | 71 | /beginpage { % i j npages 72 | /npages exch def 73 | /j exch def 74 | /i exch def 75 | /str 10 string def 76 | npages 1 gt { 77 | gsave 78 | coordfont setfont 79 | 0 0 moveto 80 | (\() show i str cvs show (,) show j str cvs show (\)) show 81 | grestore 82 | } if 83 | } bind def 84 | 85 | /set_font { 86 | findfont exch 87 | scalefont setfont 88 | } def 89 | 90 | % draw text fitted to its expected width 91 | /alignedtext { % width text 92 | /text exch def 93 | /width exch def 94 | gsave 95 | width 0 gt { 96 | [] 0 setdash 97 | text stringwidth pop width exch sub text length div 0 text ashow 98 | } if 99 | grestore 100 | } def 101 | 102 | /boxprim { % xcorner ycorner xsize ysize 103 | 4 2 roll 104 | moveto 105 | 2 copy 106 | exch 0 rlineto 107 | 0 exch rlineto 108 | pop neg 0 rlineto 109 | closepath 110 | } bind def 111 | 112 | /ellipse_path { 113 | /ry exch def 114 | /rx exch def 115 | /y exch def 116 | /x exch def 117 | matrix currentmatrix 118 | newpath 119 | x y translate 120 | rx ry scale 121 | 0 0 1 0 360 arc 122 | setmatrix 123 | } bind def 124 | 125 | /endpage { showpage } bind def 126 | /showpage { } def 127 | 128 | /layercolorseq 129 | [ % layer color sequence - darkest to lightest 130 | [0 0 0] 131 | [.2 .8 .8] 132 | [.4 .8 .8] 133 | [.6 .8 .8] 134 | [.8 .8 .8] 135 | ] 136 | def 137 | 138 | /layerlen layercolorseq length def 139 | 140 | /setlayer {/maxlayer exch def /curlayer exch def 141 | layercolorseq curlayer 1 sub layerlen mod get 142 | aload pop sethsbcolor 143 | /nodecolor {nopcolor} def 144 | /edgecolor {nopcolor} def 145 | /graphcolor {nopcolor} def 146 | } bind def 147 | 148 | /onlayer { curlayer ne {invis} if } def 149 | 150 | /onlayers { 151 | /myupper exch def 152 | /mylower exch def 153 | curlayer mylower lt 154 | curlayer myupper gt 155 | or 156 | {invis} if 157 | } def 158 | 159 | /curlayer 0 def 160 | 161 | %%EndResource 162 | %%EndProlog 163 | %%BeginSetup 164 | 14 default-font-family set_font 165 | 1 setmiterlimit 166 | % /arrowlength 10 def 167 | % /arrowwidth 5 def 168 | 169 | % make sure pdfmark is harmless for PS-interpreters other than Distiller 170 | /pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse 171 | % make '<<' and '>>' safe on PS Level 1 devices 172 | /languagelevel where {pop languagelevel}{1} ifelse 173 | 2 lt { 174 | userdict (<<) cvn ([) cvn load put 175 | userdict (>>) cvn ([) cvn load put 176 | } if 177 | 178 | %%EndSetup 179 | setupLatin1 180 | %%Page: 1 1 181 | %%PageBoundingBox: 36 36 384 124 182 | %%PageOrientation: Portrait 183 | 0 0 1 beginpage 184 | gsave 185 | 36 36 348 88 boxprim clip newpath 186 | 1 1 set_scale 0 rotate 40 41 translate 187 | % Node1 188 | gsave 189 | 0 0 0.74902 nodecolor 190 | newpath 5.5 58.5 moveto 191 | 5.5 79.5 lineto 192 | 334.5 79.5 lineto 193 | 334.5 58.5 lineto 194 | closepath fill 195 | 1 setlinewidth 196 | filled 197 | 0 0 0 nodecolor 198 | newpath 5.5 58.5 moveto 199 | 5.5 79.5 lineto 200 | 334.5 79.5 lineto 201 | 334.5 58.5 lineto 202 | closepath stroke 203 | 0 0 0 nodecolor 204 | 10 /FreeSans set_font 205 | 13.5 66.5 moveto 313 (K:/Projekte/robotic/arduino/arduino_1-0Patch/libraries/Logging/Logging.h) alignedtext 206 | grestore 207 | % Node2 208 | gsave 209 | [ /Rect [ 0 0 340 22 ] 210 | /Border [ 0 0 0 ] 211 | /Action << /Subtype /URI /URI ($_logging_8cpp.html) >> 212 | /Subtype /Link 213 | /ANN pdfmark 214 | 1 setlinewidth 215 | 0 0 0 nodecolor 216 | newpath 0 .5 moveto 217 | 0 21.5 lineto 218 | 340 21.5 lineto 219 | 340 .5 lineto 220 | closepath stroke 221 | 0 0 0 nodecolor 222 | 10 /FreeSans set_font 223 | 8 8.5 moveto 324 (K:/Projekte/robotic/arduino/arduino_1-0Patch/libraries/Logging/Logging.cpp) alignedtext 224 | grestore 225 | % Node1->Node2 226 | gsave 227 | 1 setlinewidth 228 | solid 229 | 0.66667 0.77647 0.43922 edgecolor 230 | newpath 170 48.19 moveto 231 | 170 39.17 170 28.99 170 21.57 curveto 232 | stroke 233 | 0.66667 0.77647 0.43922 edgecolor 234 | newpath 166.5 48.36 moveto 235 | 170 58.36 lineto 236 | 173.5 48.36 lineto 237 | closepath fill 238 | 1 setlinewidth 239 | solid 240 | 0.66667 0.77647 0.43922 edgecolor 241 | newpath 166.5 48.36 moveto 242 | 170 58.36 lineto 243 | 173.5 48.36 lineto 244 | closepath stroke 245 | grestore 246 | endpage 247 | showpage 248 | grestore 249 | %%PageTrailer 250 | %%EndPage: 1 251 | %%Trailer 252 | %%Pages: 1 253 | %%BoundingBox: 36 36 384 124 254 | end 255 | restore 256 | %%EOF 257 | -------------------------------------------------------------------------------- /doc/html/_logging_8h-source.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Logging: K:/Projekte/robotic/arduino/arduino_1-0Patch/libraries/Logging/Logging.h Source File 4 | 5 | 6 | 7 | 8 | 73 |
Generated on Tue Mar 6 20:17:24 2012 for Logging by  74 | 75 | doxygen 1.5.6
76 | 77 | 78 | -------------------------------------------------------------------------------- /doc/latex/_logging_8h__incl.eps: -------------------------------------------------------------------------------- 1 | %!PS-Adobe-3.0 2 | %%Creator: graphviz version 2.26.3 (20100126.1600) 3 | %%Title: G 4 | %%Pages: (atend) 5 | %%BoundingBox: (atend) 6 | %%EndComments 7 | save 8 | %%BeginProlog 9 | /DotDict 200 dict def 10 | DotDict begin 11 | 12 | /setupLatin1 { 13 | mark 14 | /EncodingVector 256 array def 15 | EncodingVector 0 16 | 17 | ISOLatin1Encoding 0 255 getinterval putinterval 18 | EncodingVector 45 /hyphen put 19 | 20 | % Set up ISO Latin 1 character encoding 21 | /starnetISO { 22 | dup dup findfont dup length dict begin 23 | { 1 index /FID ne { def }{ pop pop } ifelse 24 | } forall 25 | /Encoding EncodingVector def 26 | currentdict end definefont 27 | } def 28 | /Times-Roman starnetISO def 29 | /Times-Italic starnetISO def 30 | /Times-Bold starnetISO def 31 | /Times-BoldItalic starnetISO def 32 | /Helvetica starnetISO def 33 | /Helvetica-Oblique starnetISO def 34 | /Helvetica-Bold starnetISO def 35 | /Helvetica-BoldOblique starnetISO def 36 | /Courier starnetISO def 37 | /Courier-Oblique starnetISO def 38 | /Courier-Bold starnetISO def 39 | /Courier-BoldOblique starnetISO def 40 | cleartomark 41 | } bind def 42 | 43 | %%BeginResource: procset graphviz 0 0 44 | /coord-font-family /Times-Roman def 45 | /default-font-family /Times-Roman def 46 | /coordfont coord-font-family findfont 8 scalefont def 47 | 48 | /InvScaleFactor 1.0 def 49 | /set_scale { 50 | dup 1 exch div /InvScaleFactor exch def 51 | scale 52 | } bind def 53 | 54 | % styles 55 | /solid { [] 0 setdash } bind def 56 | /dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def 57 | /dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def 58 | /invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def 59 | /bold { 2 setlinewidth } bind def 60 | /filled { } bind def 61 | /unfilled { } bind def 62 | /rounded { } bind def 63 | /diagonals { } bind def 64 | 65 | % hooks for setting color 66 | /nodecolor { sethsbcolor } bind def 67 | /edgecolor { sethsbcolor } bind def 68 | /graphcolor { sethsbcolor } bind def 69 | /nopcolor {pop pop pop} bind def 70 | 71 | /beginpage { % i j npages 72 | /npages exch def 73 | /j exch def 74 | /i exch def 75 | /str 10 string def 76 | npages 1 gt { 77 | gsave 78 | coordfont setfont 79 | 0 0 moveto 80 | (\() show i str cvs show (,) show j str cvs show (\)) show 81 | grestore 82 | } if 83 | } bind def 84 | 85 | /set_font { 86 | findfont exch 87 | scalefont setfont 88 | } def 89 | 90 | % draw text fitted to its expected width 91 | /alignedtext { % width text 92 | /text exch def 93 | /width exch def 94 | gsave 95 | width 0 gt { 96 | [] 0 setdash 97 | text stringwidth pop width exch sub text length div 0 text ashow 98 | } if 99 | grestore 100 | } def 101 | 102 | /boxprim { % xcorner ycorner xsize ysize 103 | 4 2 roll 104 | moveto 105 | 2 copy 106 | exch 0 rlineto 107 | 0 exch rlineto 108 | pop neg 0 rlineto 109 | closepath 110 | } bind def 111 | 112 | /ellipse_path { 113 | /ry exch def 114 | /rx exch def 115 | /y exch def 116 | /x exch def 117 | matrix currentmatrix 118 | newpath 119 | x y translate 120 | rx ry scale 121 | 0 0 1 0 360 arc 122 | setmatrix 123 | } bind def 124 | 125 | /endpage { showpage } bind def 126 | /showpage { } def 127 | 128 | /layercolorseq 129 | [ % layer color sequence - darkest to lightest 130 | [0 0 0] 131 | [.2 .8 .8] 132 | [.4 .8 .8] 133 | [.6 .8 .8] 134 | [.8 .8 .8] 135 | ] 136 | def 137 | 138 | /layerlen layercolorseq length def 139 | 140 | /setlayer {/maxlayer exch def /curlayer exch def 141 | layercolorseq curlayer 1 sub layerlen mod get 142 | aload pop sethsbcolor 143 | /nodecolor {nopcolor} def 144 | /edgecolor {nopcolor} def 145 | /graphcolor {nopcolor} def 146 | } bind def 147 | 148 | /onlayer { curlayer ne {invis} if } def 149 | 150 | /onlayers { 151 | /myupper exch def 152 | /mylower exch def 153 | curlayer mylower lt 154 | curlayer myupper gt 155 | or 156 | {invis} if 157 | } def 158 | 159 | /curlayer 0 def 160 | 161 | %%EndResource 162 | %%EndProlog 163 | %%BeginSetup 164 | 14 default-font-family set_font 165 | 1 setmiterlimit 166 | % /arrowlength 10 def 167 | % /arrowwidth 5 def 168 | 169 | % make sure pdfmark is harmless for PS-interpreters other than Distiller 170 | /pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse 171 | % make '<<' and '>>' safe on PS Level 1 devices 172 | /languagelevel where {pop languagelevel}{1} ifelse 173 | 2 lt { 174 | userdict (<<) cvn ([) cvn load put 175 | userdict (>>) cvn ([) cvn load put 176 | } if 177 | 178 | %%EndSetup 179 | setupLatin1 180 | %%Page: 1 1 181 | %%PageBoundingBox: 36 36 372 124 182 | %%PageOrientation: Portrait 183 | 0 0 1 beginpage 184 | gsave 185 | 36 36 336 88 boxprim clip newpath 186 | 1 1 set_scale 0 rotate 40 41 translate 187 | % Node1 188 | gsave 189 | 0 0 0.74902 nodecolor 190 | newpath -.5 58.5 moveto 191 | -.5 79.5 lineto 192 | 328.5 79.5 lineto 193 | 328.5 58.5 lineto 194 | closepath fill 195 | 1 setlinewidth 196 | filled 197 | 0 0 0 nodecolor 198 | newpath -.5 58.5 moveto 199 | -.5 79.5 lineto 200 | 328.5 79.5 lineto 201 | 328.5 58.5 lineto 202 | closepath stroke 203 | 0 0 0 nodecolor 204 | 10 /FreeSans set_font 205 | 7.5 66.5 moveto 313 (K:/Projekte/robotic/arduino/arduino_1-0Patch/libraries/Logging/Logging.h) alignedtext 206 | grestore 207 | % Node2 208 | gsave 209 | 1 setlinewidth 210 | 0 0 0.74902 nodecolor 211 | newpath 22.5 .5 moveto 212 | 22.5 21.5 lineto 213 | 81.5 21.5 lineto 214 | 81.5 .5 lineto 215 | closepath stroke 216 | 0 0 0 nodecolor 217 | 10 /FreeSans set_font 218 | 30.5 8.5 moveto 43 (inttypes.h) alignedtext 219 | grestore 220 | % Node1->Node2 221 | gsave 222 | 1 setlinewidth 223 | solid 224 | 0.66667 0.77647 0.43922 edgecolor 225 | newpath 143.72 58.5 moveto 226 | 126.38 49.52 101.21 36.48 81.62 26.34 curveto 227 | stroke 228 | 0.66667 0.77647 0.43922 edgecolor 229 | newpath 83 23.11 moveto 230 | 72.51 21.62 lineto 231 | 79.78 29.33 lineto 232 | closepath fill 233 | 1 setlinewidth 234 | solid 235 | 0.66667 0.77647 0.43922 edgecolor 236 | newpath 83 23.11 moveto 237 | 72.51 21.62 lineto 238 | 79.78 29.33 lineto 239 | closepath stroke 240 | grestore 241 | % Node3 242 | gsave 243 | 1 setlinewidth 244 | 0 0 0.74902 nodecolor 245 | newpath 99 .5 moveto 246 | 99 21.5 lineto 247 | 151 21.5 lineto 248 | 151 .5 lineto 249 | closepath stroke 250 | 0 0 0 nodecolor 251 | 10 /FreeSans set_font 252 | 107 8.5 moveto 36 (stdarg.h) alignedtext 253 | grestore 254 | % Node1->Node3 255 | gsave 256 | 1 setlinewidth 257 | solid 258 | 0.66667 0.77647 0.43922 edgecolor 259 | newpath 156.85 58.36 moveto 260 | 151.51 50.43 144.09 39.39 137.75 29.96 curveto 261 | stroke 262 | 0.66667 0.77647 0.43922 edgecolor 263 | newpath 140.59 27.92 moveto 264 | 132.11 21.57 lineto 265 | 134.78 31.82 lineto 266 | closepath fill 267 | 1 setlinewidth 268 | solid 269 | 0.66667 0.77647 0.43922 edgecolor 270 | newpath 140.59 27.92 moveto 271 | 132.11 21.57 lineto 272 | 134.78 31.82 lineto 273 | closepath stroke 274 | grestore 275 | % Node4 276 | gsave 277 | 1 setlinewidth 278 | 0 0 0.74902 nodecolor 279 | newpath 168.5 .5 moveto 280 | 168.5 21.5 lineto 281 | 239.5 21.5 lineto 282 | 239.5 .5 lineto 283 | closepath stroke 284 | 0 0 0 nodecolor 285 | 10 /FreeSans set_font 286 | 176.5 8.5 moveto 55 (WProgram.h) alignedtext 287 | grestore 288 | % Node1->Node4 289 | gsave 290 | 1 setlinewidth 291 | solid 292 | 0.66667 0.77647 0.43922 edgecolor 293 | newpath 171.34 58.36 moveto 294 | 176.81 50.43 184.42 39.39 190.92 29.96 curveto 295 | stroke 296 | 0.66667 0.77647 0.43922 edgecolor 297 | newpath 193.91 31.79 moveto 298 | 196.71 21.57 lineto 299 | 188.15 27.82 lineto 300 | closepath fill 301 | 1 setlinewidth 302 | solid 303 | 0.66667 0.77647 0.43922 edgecolor 304 | newpath 193.91 31.79 moveto 305 | 196.71 21.57 lineto 306 | 188.15 27.82 lineto 307 | closepath stroke 308 | grestore 309 | % Node5 310 | gsave 311 | 1 setlinewidth 312 | 0 0 0.74902 nodecolor 313 | newpath 256.5 .5 moveto 314 | 256.5 21.5 lineto 315 | 303.5 21.5 lineto 316 | 303.5 .5 lineto 317 | closepath stroke 318 | 0 0 0 nodecolor 319 | 10 /FreeSans set_font 320 | 264.5 8.5 moveto 31 (avr/io.h) alignedtext 321 | grestore 322 | % Node1->Node5 323 | gsave 324 | 1 setlinewidth 325 | solid 326 | 0.66667 0.77647 0.43922 edgecolor 327 | newpath 185.01 58.5 moveto 328 | 203.04 49.48 229.27 36.36 249.6 26.2 curveto 329 | stroke 330 | 0.66667 0.77647 0.43922 edgecolor 331 | newpath 251.38 29.22 moveto 332 | 258.76 21.62 lineto 333 | 248.25 22.96 lineto 334 | closepath fill 335 | 1 setlinewidth 336 | solid 337 | 0.66667 0.77647 0.43922 edgecolor 338 | newpath 251.38 29.22 moveto 339 | 258.76 21.62 lineto 340 | 248.25 22.96 lineto 341 | closepath stroke 342 | grestore 343 | endpage 344 | showpage 345 | grestore 346 | %%PageTrailer 347 | %%EndPage: 1 348 | %%Trailer 349 | %%Pages: 1 350 | %%BoundingBox: 36 36 372 124 351 | end 352 | restore 353 | %%EOF 354 | -------------------------------------------------------------------------------- /doc/latex/_logging_8cpp__incl.eps: -------------------------------------------------------------------------------- 1 | %!PS-Adobe-3.0 2 | %%Creator: graphviz version 2.26.3 (20100126.1600) 3 | %%Title: G 4 | %%Pages: (atend) 5 | %%BoundingBox: (atend) 6 | %%EndComments 7 | save 8 | %%BeginProlog 9 | /DotDict 200 dict def 10 | DotDict begin 11 | 12 | /setupLatin1 { 13 | mark 14 | /EncodingVector 256 array def 15 | EncodingVector 0 16 | 17 | ISOLatin1Encoding 0 255 getinterval putinterval 18 | EncodingVector 45 /hyphen put 19 | 20 | % Set up ISO Latin 1 character encoding 21 | /starnetISO { 22 | dup dup findfont dup length dict begin 23 | { 1 index /FID ne { def }{ pop pop } ifelse 24 | } forall 25 | /Encoding EncodingVector def 26 | currentdict end definefont 27 | } def 28 | /Times-Roman starnetISO def 29 | /Times-Italic starnetISO def 30 | /Times-Bold starnetISO def 31 | /Times-BoldItalic starnetISO def 32 | /Helvetica starnetISO def 33 | /Helvetica-Oblique starnetISO def 34 | /Helvetica-Bold starnetISO def 35 | /Helvetica-BoldOblique starnetISO def 36 | /Courier starnetISO def 37 | /Courier-Oblique starnetISO def 38 | /Courier-Bold starnetISO def 39 | /Courier-BoldOblique starnetISO def 40 | cleartomark 41 | } bind def 42 | 43 | %%BeginResource: procset graphviz 0 0 44 | /coord-font-family /Times-Roman def 45 | /default-font-family /Times-Roman def 46 | /coordfont coord-font-family findfont 8 scalefont def 47 | 48 | /InvScaleFactor 1.0 def 49 | /set_scale { 50 | dup 1 exch div /InvScaleFactor exch def 51 | scale 52 | } bind def 53 | 54 | % styles 55 | /solid { [] 0 setdash } bind def 56 | /dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def 57 | /dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def 58 | /invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def 59 | /bold { 2 setlinewidth } bind def 60 | /filled { } bind def 61 | /unfilled { } bind def 62 | /rounded { } bind def 63 | /diagonals { } bind def 64 | 65 | % hooks for setting color 66 | /nodecolor { sethsbcolor } bind def 67 | /edgecolor { sethsbcolor } bind def 68 | /graphcolor { sethsbcolor } bind def 69 | /nopcolor {pop pop pop} bind def 70 | 71 | /beginpage { % i j npages 72 | /npages exch def 73 | /j exch def 74 | /i exch def 75 | /str 10 string def 76 | npages 1 gt { 77 | gsave 78 | coordfont setfont 79 | 0 0 moveto 80 | (\() show i str cvs show (,) show j str cvs show (\)) show 81 | grestore 82 | } if 83 | } bind def 84 | 85 | /set_font { 86 | findfont exch 87 | scalefont setfont 88 | } def 89 | 90 | % draw text fitted to its expected width 91 | /alignedtext { % width text 92 | /text exch def 93 | /width exch def 94 | gsave 95 | width 0 gt { 96 | [] 0 setdash 97 | text stringwidth pop width exch sub text length div 0 text ashow 98 | } if 99 | grestore 100 | } def 101 | 102 | /boxprim { % xcorner ycorner xsize ysize 103 | 4 2 roll 104 | moveto 105 | 2 copy 106 | exch 0 rlineto 107 | 0 exch rlineto 108 | pop neg 0 rlineto 109 | closepath 110 | } bind def 111 | 112 | /ellipse_path { 113 | /ry exch def 114 | /rx exch def 115 | /y exch def 116 | /x exch def 117 | matrix currentmatrix 118 | newpath 119 | x y translate 120 | rx ry scale 121 | 0 0 1 0 360 arc 122 | setmatrix 123 | } bind def 124 | 125 | /endpage { showpage } bind def 126 | /showpage { } def 127 | 128 | /layercolorseq 129 | [ % layer color sequence - darkest to lightest 130 | [0 0 0] 131 | [.2 .8 .8] 132 | [.4 .8 .8] 133 | [.6 .8 .8] 134 | [.8 .8 .8] 135 | ] 136 | def 137 | 138 | /layerlen layercolorseq length def 139 | 140 | /setlayer {/maxlayer exch def /curlayer exch def 141 | layercolorseq curlayer 1 sub layerlen mod get 142 | aload pop sethsbcolor 143 | /nodecolor {nopcolor} def 144 | /edgecolor {nopcolor} def 145 | /graphcolor {nopcolor} def 146 | } bind def 147 | 148 | /onlayer { curlayer ne {invis} if } def 149 | 150 | /onlayers { 151 | /myupper exch def 152 | /mylower exch def 153 | curlayer mylower lt 154 | curlayer myupper gt 155 | or 156 | {invis} if 157 | } def 158 | 159 | /curlayer 0 def 160 | 161 | %%EndResource 162 | %%EndProlog 163 | %%BeginSetup 164 | 14 default-font-family set_font 165 | 1 setmiterlimit 166 | % /arrowlength 10 def 167 | % /arrowwidth 5 def 168 | 169 | % make sure pdfmark is harmless for PS-interpreters other than Distiller 170 | /pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse 171 | % make '<<' and '>>' safe on PS Level 1 devices 172 | /languagelevel where {pop languagelevel}{1} ifelse 173 | 2 lt { 174 | userdict (<<) cvn ([) cvn load put 175 | userdict (>>) cvn ([) cvn load put 176 | } if 177 | 178 | %%EndSetup 179 | setupLatin1 180 | %%Page: 1 1 181 | %%PageBoundingBox: 36 36 384 182 182 | %%PageOrientation: Portrait 183 | 0 0 1 beginpage 184 | gsave 185 | 36 36 348 146 boxprim clip newpath 186 | 1 1 set_scale 0 rotate 40 41 translate 187 | % Node1 188 | gsave 189 | 0 0 0.74902 nodecolor 190 | newpath 0 116.5 moveto 191 | 0 137.5 lineto 192 | 340 137.5 lineto 193 | 340 116.5 lineto 194 | closepath fill 195 | 1 setlinewidth 196 | filled 197 | 0 0 0 nodecolor 198 | newpath 0 116.5 moveto 199 | 0 137.5 lineto 200 | 340 137.5 lineto 201 | 340 116.5 lineto 202 | closepath stroke 203 | 0 0 0 nodecolor 204 | 10 /FreeSans set_font 205 | 8 124.5 moveto 324 (K:/Projekte/robotic/arduino/arduino_1-0Patch/libraries/Logging/Logging.cpp) alignedtext 206 | grestore 207 | % Node2 208 | gsave 209 | [ /Rect [ 141 58 199 80 ] 210 | /Border [ 0 0 0 ] 211 | /Action << /Subtype /URI /URI ($_logging_8h.html) >> 212 | /Subtype /Link 213 | /ANN pdfmark 214 | 1 setlinewidth 215 | 0 0 0 nodecolor 216 | newpath 140.5 58.5 moveto 217 | 140.5 79.5 lineto 218 | 199.5 79.5 lineto 219 | 199.5 58.5 lineto 220 | closepath stroke 221 | 0 0 0 nodecolor 222 | 10 /FreeSans set_font 223 | 148.5 66.5 moveto 43 (Logging.h) alignedtext 224 | grestore 225 | % Node1->Node2 226 | gsave 227 | 1 setlinewidth 228 | solid 229 | 0.66667 0.77647 0.43922 edgecolor 230 | newpath 170 116.36 moveto 231 | 170 108.92 170 98.74 170 89.73 curveto 232 | stroke 233 | 0.66667 0.77647 0.43922 edgecolor 234 | newpath 173.5 89.57 moveto 235 | 170 79.57 lineto 236 | 166.5 89.57 lineto 237 | closepath fill 238 | 1 setlinewidth 239 | solid 240 | 0.66667 0.77647 0.43922 edgecolor 241 | newpath 173.5 89.57 moveto 242 | 170 79.57 lineto 243 | 166.5 89.57 lineto 244 | closepath stroke 245 | grestore 246 | % Node3 247 | gsave 248 | 1 setlinewidth 249 | 0 0 0.74902 nodecolor 250 | newpath 28.5 .5 moveto 251 | 28.5 21.5 lineto 252 | 87.5 21.5 lineto 253 | 87.5 .5 lineto 254 | closepath stroke 255 | 0 0 0 nodecolor 256 | 10 /FreeSans set_font 257 | 36.5 8.5 moveto 43 (inttypes.h) alignedtext 258 | grestore 259 | % Node2->Node3 260 | gsave 261 | 1 setlinewidth 262 | solid 263 | 0.66667 0.77647 0.43922 edgecolor 264 | newpath 149.72 58.5 moveto 265 | 132.38 49.52 107.21 36.48 87.62 26.34 curveto 266 | stroke 267 | 0.66667 0.77647 0.43922 edgecolor 268 | newpath 89 23.11 moveto 269 | 78.51 21.62 lineto 270 | 85.78 29.33 lineto 271 | closepath fill 272 | 1 setlinewidth 273 | solid 274 | 0.66667 0.77647 0.43922 edgecolor 275 | newpath 89 23.11 moveto 276 | 78.51 21.62 lineto 277 | 85.78 29.33 lineto 278 | closepath stroke 279 | grestore 280 | % Node4 281 | gsave 282 | 1 setlinewidth 283 | 0 0 0.74902 nodecolor 284 | newpath 105 .5 moveto 285 | 105 21.5 lineto 286 | 157 21.5 lineto 287 | 157 .5 lineto 288 | closepath stroke 289 | 0 0 0 nodecolor 290 | 10 /FreeSans set_font 291 | 113 8.5 moveto 36 (stdarg.h) alignedtext 292 | grestore 293 | % Node2->Node4 294 | gsave 295 | 1 setlinewidth 296 | solid 297 | 0.66667 0.77647 0.43922 edgecolor 298 | newpath 162.85 58.36 moveto 299 | 157.51 50.43 150.09 39.39 143.75 29.96 curveto 300 | stroke 301 | 0.66667 0.77647 0.43922 edgecolor 302 | newpath 146.59 27.92 moveto 303 | 138.11 21.57 lineto 304 | 140.78 31.82 lineto 305 | closepath fill 306 | 1 setlinewidth 307 | solid 308 | 0.66667 0.77647 0.43922 edgecolor 309 | newpath 146.59 27.92 moveto 310 | 138.11 21.57 lineto 311 | 140.78 31.82 lineto 312 | closepath stroke 313 | grestore 314 | % Node5 315 | gsave 316 | 1 setlinewidth 317 | 0 0 0.74902 nodecolor 318 | newpath 174.5 .5 moveto 319 | 174.5 21.5 lineto 320 | 245.5 21.5 lineto 321 | 245.5 .5 lineto 322 | closepath stroke 323 | 0 0 0 nodecolor 324 | 10 /FreeSans set_font 325 | 182.5 8.5 moveto 55 (WProgram.h) alignedtext 326 | grestore 327 | % Node2->Node5 328 | gsave 329 | 1 setlinewidth 330 | solid 331 | 0.66667 0.77647 0.43922 edgecolor 332 | newpath 177.34 58.36 moveto 333 | 182.81 50.43 190.42 39.39 196.92 29.96 curveto 334 | stroke 335 | 0.66667 0.77647 0.43922 edgecolor 336 | newpath 199.91 31.79 moveto 337 | 202.71 21.57 lineto 338 | 194.15 27.82 lineto 339 | closepath fill 340 | 1 setlinewidth 341 | solid 342 | 0.66667 0.77647 0.43922 edgecolor 343 | newpath 199.91 31.79 moveto 344 | 202.71 21.57 lineto 345 | 194.15 27.82 lineto 346 | closepath stroke 347 | grestore 348 | % Node6 349 | gsave 350 | 1 setlinewidth 351 | 0 0 0.74902 nodecolor 352 | newpath 262.5 .5 moveto 353 | 262.5 21.5 lineto 354 | 309.5 21.5 lineto 355 | 309.5 .5 lineto 356 | closepath stroke 357 | 0 0 0 nodecolor 358 | 10 /FreeSans set_font 359 | 270.5 8.5 moveto 31 (avr/io.h) alignedtext 360 | grestore 361 | % Node2->Node6 362 | gsave 363 | 1 setlinewidth 364 | solid 365 | 0.66667 0.77647 0.43922 edgecolor 366 | newpath 191.01 58.5 moveto 367 | 209.04 49.48 235.27 36.36 255.6 26.2 curveto 368 | stroke 369 | 0.66667 0.77647 0.43922 edgecolor 370 | newpath 257.38 29.22 moveto 371 | 264.76 21.62 lineto 372 | 254.25 22.96 lineto 373 | closepath fill 374 | 1 setlinewidth 375 | solid 376 | 0.66667 0.77647 0.43922 edgecolor 377 | newpath 257.38 29.22 moveto 378 | 264.76 21.62 lineto 379 | 254.25 22.96 lineto 380 | closepath stroke 381 | grestore 382 | endpage 383 | showpage 384 | grestore 385 | %%PageTrailer 386 | %%EndPage: 1 387 | %%Trailer 388 | %%Pages: 1 389 | %%BoundingBox: 36 36 384 182 390 | end 391 | restore 392 | %%EOF 393 | -------------------------------------------------------------------------------- /doc/latex/class_logging.tex: -------------------------------------------------------------------------------- 1 | \hypertarget{class_logging}{ 2 | \section{Logging Class Reference} 3 | \label{class_logging}\index{Logging@{Logging}} 4 | } 5 | {\tt \#include $<$Logging.h$>$} 6 | 7 | \subsection*{Public Member Functions} 8 | \begin{CompactItemize} 9 | \item 10 | \hyperlink{class_logging_cc3d848a3d05076fd185cd95e9c648d5}{Logging} () 11 | \item 12 | void \hyperlink{class_logging_f6a890a6feac5bf93b04cb22db7bd530}{Init} (int level, long baud) 13 | \item 14 | void \hyperlink{class_logging_1cf44ab531c72761fba811882336a2ad}{Error} (char $\ast$msg,...) 15 | \item 16 | void \hyperlink{class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e}{Info} (char $\ast$msg,...) 17 | \item 18 | void \hyperlink{class_logging_e0fcd9e5350d7b9158c8ae9289fef193}{Debug} (char $\ast$msg,...) 19 | \item 20 | void \hyperlink{class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f}{Verbose} (char $\ast$msg,...) 21 | \end{CompactItemize} 22 | \subsection*{Private Member Functions} 23 | \begin{CompactItemize} 24 | \item 25 | void \hyperlink{class_logging_714840794950ab31df5da5b95322e391}{print} (const char $\ast$format, va\_\-list args) 26 | \end{CompactItemize} 27 | \subsection*{Private Attributes} 28 | \begin{CompactItemize} 29 | \item 30 | int \hyperlink{class_logging_117105f639285ba5922836121294c04a}{\_\-level} 31 | \item 32 | long \hyperlink{class_logging_8a2fe833b6e957b763146c32d6be5f2d}{\_\-baud} 33 | \end{CompactItemize} 34 | 35 | 36 | \subsection{Detailed Description} 37 | \hyperlink{class_logging}{Logging} is a helper class to output informations over RS232. If you know log4j or log4net, this logging class is more or less similar ;-) \par 38 | Different loglevels can be used to extend or reduce output All methods are able to handle any number of output parameters. All methods print out a formated string (like printf).\par 39 | To reduce output and program size, reduce loglevel. \par 40 | Output format string can contain below wildcards. Every wildcard must be start with percent sign (\%) 41 | 42 | {\bf Depending on loglevel, source code is excluded from compile !}\par 43 | \par 44 | {\bf Wildcards}\par 45 | \begin{itemize} 46 | \item {\bf \%s} replace with an string (char$\ast$) \item {\bf \%c} replace with an character \item {\bf \%d} replace with an integer value \item {\bf \%l} replace with an long value \item {\bf \%x} replace and convert integer value into hex \item {\bf \%X} like x but combine with {\bf 0x}123AB \item {\bf \%b} replace and convert integer value into binary \item {\bf \%B} like x but combine with {\bf 0b}10100011 \item {\bf \%t} replace and convert boolean value into {\bf \char`\"{}t\char`\"{}} or {\bf \char`\"{}f\char`\"{}} \item {\bf \%T} like t but convert into {\bf \char`\"{}true\char`\"{}} or {\bf \char`\"{}false\char`\"{}} \end{itemize} 47 | \par 48 | {\bf Loglevels}\par 49 | \begin{TabularC}{3} 50 | \hline 51 | 0&LOG\_\-LEVEL\_\-NOOUTPUT&no output \\\hline 52 | 1&LOG\_\-LEVEL\_\-ERRORS&only errors \\\hline 53 | 2&LOG\_\-LEVEL\_\-INFOS&errors and info \\\hline 54 | 3&LOG\_\-LEVEL\_\-DEBUG&errors, info and debug \\\hline 55 | 4&LOG\_\-LEVEL\_\-VERBOSE&all \\\hline 56 | \end{TabularC} 57 | \par 58 | \subsection*{History} 59 | 60 | \par 61 | \begin{TabularC}{2} 62 | \hline 63 | 01 FEB 2012&initial release \\\hline 64 | 06 MAR 2012&implement a preinstanciate object (like in Wire, ...) \\\hline 65 | &methode init get now loglevel and baud parameter \\\hline 66 | \end{TabularC} 67 | 68 | 69 | Definition at line 71 of file Logging.h. 70 | 71 | \subsection{Constructor \& Destructor Documentation} 72 | \hypertarget{class_logging_cc3d848a3d05076fd185cd95e9c648d5}{ 73 | \index{Logging@{Logging}!Logging@{Logging}} 74 | \index{Logging@{Logging}!Logging@{Logging}} 75 | \subsubsection[Logging]{\setlength{\rightskip}{0pt plus 5cm}Logging::Logging ()\hspace{0.3cm}{\tt \mbox{[}inline\mbox{]}}}} 76 | \label{class_logging_cc3d848a3d05076fd185cd95e9c648d5} 77 | 78 | 79 | default Constructor 80 | 81 | Definition at line 79 of file Logging.h. 82 | 83 | \subsection{Member Function Documentation} 84 | \hypertarget{class_logging_f6a890a6feac5bf93b04cb22db7bd530}{ 85 | \index{Logging@{Logging}!Init@{Init}} 86 | \index{Init@{Init}!Logging@{Logging}} 87 | \subsubsection[Init]{\setlength{\rightskip}{0pt plus 5cm}void Logging::Init (int {\em level}, \/ long {\em baud})}} 88 | \label{class_logging_f6a890a6feac5bf93b04cb22db7bd530} 89 | 90 | 91 | Initializing, must be called as first. \begin{Desc} 92 | \item[Parameters:] 93 | \begin{description} 94 | \item[{\em void}]\end{description} 95 | \end{Desc} 96 | \begin{Desc} 97 | \item[Returns:]void \end{Desc} 98 | 99 | 100 | Definition at line 3 of file Logging.cpp. 101 | 102 | References \_\-baud, \_\-level, LOG\_\-LEVEL\_\-NOOUTPUT, and LOG\_\-LEVEL\_\-VERBOSE.\hypertarget{class_logging_1cf44ab531c72761fba811882336a2ad}{ 103 | \index{Logging@{Logging}!Error@{Error}} 104 | \index{Error@{Error}!Logging@{Logging}} 105 | \subsubsection[Error]{\setlength{\rightskip}{0pt plus 5cm}void Logging::Error (char $\ast$ {\em msg}, \/ {\em ...})}} 106 | \label{class_logging_1cf44ab531c72761fba811882336a2ad} 107 | 108 | 109 | Output an error message. Output message contains ERROR: followed by original msg Error messages are printed out, at every loglevel except 0 ;-) \begin{Desc} 110 | \item[Parameters:] 111 | \begin{description} 112 | \item[{\em msg}]format string to output \item[{\em ...}]any number of variables \end{description} 113 | \end{Desc} 114 | \begin{Desc} 115 | \item[Returns:]void \end{Desc} 116 | 117 | 118 | Definition at line 9 of file Logging.cpp. 119 | 120 | References \_\-level, LOG\_\-LEVEL\_\-ERRORS, and print(). 121 | 122 | Here is the call graph for this function:\nopagebreak 123 | \begin{figure}[H] 124 | \begin{center} 125 | \leavevmode 126 | \includegraphics[width=117pt]{class_logging_1cf44ab531c72761fba811882336a2ad_cgraph} 127 | \end{center} 128 | \end{figure} 129 | \hypertarget{class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e}{ 130 | \index{Logging@{Logging}!Info@{Info}} 131 | \index{Info@{Info}!Logging@{Logging}} 132 | \subsubsection[Info]{\setlength{\rightskip}{0pt plus 5cm}void Logging::Info (char $\ast$ {\em msg}, \/ {\em ...})}} 133 | \label{class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e} 134 | 135 | 136 | Output an info message. Output message contains Info messages are printed out at l loglevels $>$= LOG\_\-LEVEL\_\-INFOS 137 | 138 | \begin{Desc} 139 | \item[Parameters:] 140 | \begin{description} 141 | \item[{\em msg}]format string to output \item[{\em ...}]any number of variables \end{description} 142 | \end{Desc} 143 | \begin{Desc} 144 | \item[Returns:]void \end{Desc} 145 | 146 | 147 | Definition at line 19 of file Logging.cpp. 148 | 149 | References \_\-level, LOG\_\-LEVEL\_\-INFOS, and print(). 150 | 151 | Here is the call graph for this function:\nopagebreak 152 | \begin{figure}[H] 153 | \begin{center} 154 | \leavevmode 155 | \includegraphics[width=114pt]{class_logging_8a99e1a55e2b24d864d89e9aa86b2f2e_cgraph} 156 | \end{center} 157 | \end{figure} 158 | \hypertarget{class_logging_e0fcd9e5350d7b9158c8ae9289fef193}{ 159 | \index{Logging@{Logging}!Debug@{Debug}} 160 | \index{Debug@{Debug}!Logging@{Logging}} 161 | \subsubsection[Debug]{\setlength{\rightskip}{0pt plus 5cm}void Logging::Debug (char $\ast$ {\em msg}, \/ {\em ...})}} 162 | \label{class_logging_e0fcd9e5350d7b9158c8ae9289fef193} 163 | 164 | 165 | Output an debug message. Output message contains Debug messages are printed out at l loglevels $>$= LOG\_\-LEVEL\_\-DEBUG 166 | 167 | \begin{Desc} 168 | \item[Parameters:] 169 | \begin{description} 170 | \item[{\em msg}]format string to output \item[{\em ...}]any number of variables \end{description} 171 | \end{Desc} 172 | \begin{Desc} 173 | \item[Returns:]void \end{Desc} 174 | 175 | 176 | Definition at line 27 of file Logging.cpp. 177 | 178 | References \_\-level, LOG\_\-LEVEL\_\-DEBUG, and print(). 179 | 180 | Here is the call graph for this function:\nopagebreak 181 | \begin{figure}[H] 182 | \begin{center} 183 | \leavevmode 184 | \includegraphics[width=120pt]{class_logging_e0fcd9e5350d7b9158c8ae9289fef193_cgraph} 185 | \end{center} 186 | \end{figure} 187 | \hypertarget{class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f}{ 188 | \index{Logging@{Logging}!Verbose@{Verbose}} 189 | \index{Verbose@{Verbose}!Logging@{Logging}} 190 | \subsubsection[Verbose]{\setlength{\rightskip}{0pt plus 5cm}void Logging::Verbose (char $\ast$ {\em msg}, \/ {\em ...})}} 191 | \label{class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f} 192 | 193 | 194 | Output an verbose message. Output message contains Debug messages are printed out at l loglevels $>$= LOG\_\-LEVEL\_\-VERBOSE 195 | 196 | \begin{Desc} 197 | \item[Parameters:] 198 | \begin{description} 199 | \item[{\em msg}]format string to output \item[{\em ...}]any number of variables \end{description} 200 | \end{Desc} 201 | \begin{Desc} 202 | \item[Returns:]void \end{Desc} 203 | 204 | 205 | Definition at line 36 of file Logging.cpp. 206 | 207 | References \_\-level, LOG\_\-LEVEL\_\-VERBOSE, and print(). 208 | 209 | Here is the call graph for this function:\nopagebreak 210 | \begin{figure}[H] 211 | \begin{center} 212 | \leavevmode 213 | \includegraphics[width=124pt]{class_logging_2ae6a981ea685c851b87cf4c1ec2fb8f_cgraph} 214 | \end{center} 215 | \end{figure} 216 | \hypertarget{class_logging_714840794950ab31df5da5b95322e391}{ 217 | \index{Logging@{Logging}!print@{print}} 218 | \index{print@{print}!Logging@{Logging}} 219 | \subsubsection[print]{\setlength{\rightskip}{0pt plus 5cm}void Logging::print (const char $\ast$ {\em format}, \/ va\_\-list {\em args})\hspace{0.3cm}{\tt \mbox{[}private\mbox{]}}}} 220 | \label{class_logging_714840794950ab31df5da5b95322e391} 221 | 222 | 223 | 224 | 225 | Definition at line 46 of file Logging.cpp. 226 | 227 | Referenced by Debug(), Error(), Info(), and Verbose(). 228 | 229 | \subsection{Member Data Documentation} 230 | \hypertarget{class_logging_117105f639285ba5922836121294c04a}{ 231 | \index{Logging@{Logging}!\_\-level@{\_\-level}} 232 | \index{\_\-level@{\_\-level}!Logging@{Logging}} 233 | \subsubsection[\_\-level]{\setlength{\rightskip}{0pt plus 5cm}int {\bf Logging::\_\-level}\hspace{0.3cm}{\tt \mbox{[}private\mbox{]}}}} 234 | \label{class_logging_117105f639285ba5922836121294c04a} 235 | 236 | 237 | 238 | 239 | Definition at line 73 of file Logging.h. 240 | 241 | Referenced by Debug(), Error(), Info(), Init(), and Verbose().\hypertarget{class_logging_8a2fe833b6e957b763146c32d6be5f2d}{ 242 | \index{Logging@{Logging}!\_\-baud@{\_\-baud}} 243 | \index{\_\-baud@{\_\-baud}!Logging@{Logging}} 244 | \subsubsection[\_\-baud]{\setlength{\rightskip}{0pt plus 5cm}long {\bf Logging::\_\-baud}\hspace{0.3cm}{\tt \mbox{[}private\mbox{]}}}} 245 | \label{class_logging_8a2fe833b6e957b763146c32d6be5f2d} 246 | 247 | 248 | 249 | 250 | Definition at line 74 of file Logging.h. 251 | 252 | Referenced by Init(). 253 | 254 | The documentation for this class was generated from the following files:\begin{CompactItemize} 255 | \item 256 | K:/Projekte/robotic/arduino/arduino\_\-1-0Patch/libraries/Logging/\hyperlink{_logging_8h}{Logging.h}\item 257 | K:/Projekte/robotic/arduino/arduino\_\-1-0Patch/libraries/Logging/\hyperlink{_logging_8cpp}{Logging.cpp}\end{CompactItemize} 258 | -------------------------------------------------------------------------------- /doc/html/doxygen.css: -------------------------------------------------------------------------------- 1 | BODY,H1,H2,H3,H4,H5,H6,P,CENTER,TD,TH,UL,DL,DIV { 2 | font-family: Geneva, Arial, Helvetica, sans-serif; 3 | } 4 | BODY,TD { 5 | font-size: 90%; 6 | } 7 | H1 { 8 | text-align: center; 9 | font-size: 160%; 10 | } 11 | H2 { 12 | font-size: 120%; 13 | } 14 | H3 { 15 | font-size: 100%; 16 | } 17 | CAPTION { 18 | font-weight: bold 19 | } 20 | DIV.qindex { 21 | width: 100%; 22 | background-color: #e8eef2; 23 | border: 1px solid #84b0c7; 24 | text-align: center; 25 | margin: 2px; 26 | padding: 2px; 27 | line-height: 140%; 28 | } 29 | DIV.navpath { 30 | width: 100%; 31 | background-color: #e8eef2; 32 | border: 1px solid #84b0c7; 33 | text-align: center; 34 | margin: 2px; 35 | padding: 2px; 36 | line-height: 140%; 37 | } 38 | DIV.navtab { 39 | background-color: #e8eef2; 40 | border: 1px solid #84b0c7; 41 | text-align: center; 42 | margin: 2px; 43 | margin-right: 15px; 44 | padding: 2px; 45 | } 46 | TD.navtab { 47 | font-size: 70%; 48 | } 49 | A.qindex { 50 | text-decoration: none; 51 | font-weight: bold; 52 | color: #1A419D; 53 | } 54 | A.qindex:visited { 55 | text-decoration: none; 56 | font-weight: bold; 57 | color: #1A419D 58 | } 59 | A.qindex:hover { 60 | text-decoration: none; 61 | background-color: #ddddff; 62 | } 63 | A.qindexHL { 64 | text-decoration: none; 65 | font-weight: bold; 66 | background-color: #6666cc; 67 | color: #ffffff; 68 | border: 1px double #9295C2; 69 | } 70 | A.qindexHL:hover { 71 | text-decoration: none; 72 | background-color: #6666cc; 73 | color: #ffffff; 74 | } 75 | A.qindexHL:visited { 76 | text-decoration: none; 77 | background-color: #6666cc; 78 | color: #ffffff 79 | } 80 | A.el { 81 | text-decoration: none; 82 | font-weight: bold 83 | } 84 | A.elRef { 85 | font-weight: bold 86 | } 87 | A.code:link { 88 | text-decoration: none; 89 | font-weight: normal; 90 | color: #0000FF 91 | } 92 | A.code:visited { 93 | text-decoration: none; 94 | font-weight: normal; 95 | color: #0000FF 96 | } 97 | A.codeRef:link { 98 | font-weight: normal; 99 | color: #0000FF 100 | } 101 | A.codeRef:visited { 102 | font-weight: normal; 103 | color: #0000FF 104 | } 105 | A:hover { 106 | text-decoration: none; 107 | background-color: #f2f2ff 108 | } 109 | DL.el { 110 | margin-left: -1cm 111 | } 112 | .fragment { 113 | font-family: monospace, fixed; 114 | font-size: 95%; 115 | } 116 | PRE.fragment { 117 | border: 1px solid #CCCCCC; 118 | background-color: #f5f5f5; 119 | margin-top: 4px; 120 | margin-bottom: 4px; 121 | margin-left: 2px; 122 | margin-right: 8px; 123 | padding-left: 6px; 124 | padding-right: 6px; 125 | padding-top: 4px; 126 | padding-bottom: 4px; 127 | } 128 | DIV.ah { 129 | background-color: black; 130 | font-weight: bold; 131 | color: #ffffff; 132 | margin-bottom: 3px; 133 | margin-top: 3px 134 | } 135 | 136 | DIV.groupHeader { 137 | margin-left: 16px; 138 | margin-top: 12px; 139 | margin-bottom: 6px; 140 | font-weight: bold; 141 | } 142 | DIV.groupText { 143 | margin-left: 16px; 144 | font-style: italic; 145 | font-size: 90% 146 | } 147 | BODY { 148 | background: white; 149 | color: black; 150 | margin-right: 20px; 151 | margin-left: 20px; 152 | } 153 | TD.indexkey { 154 | background-color: #e8eef2; 155 | font-weight: bold; 156 | padding-right : 10px; 157 | padding-top : 2px; 158 | padding-left : 10px; 159 | padding-bottom : 2px; 160 | margin-left : 0px; 161 | margin-right : 0px; 162 | margin-top : 2px; 163 | margin-bottom : 2px; 164 | border: 1px solid #CCCCCC; 165 | } 166 | TD.indexvalue { 167 | background-color: #e8eef2; 168 | font-style: italic; 169 | padding-right : 10px; 170 | padding-top : 2px; 171 | padding-left : 10px; 172 | padding-bottom : 2px; 173 | margin-left : 0px; 174 | margin-right : 0px; 175 | margin-top : 2px; 176 | margin-bottom : 2px; 177 | border: 1px solid #CCCCCC; 178 | } 179 | TR.memlist { 180 | background-color: #f0f0f0; 181 | } 182 | P.formulaDsp { 183 | text-align: center; 184 | } 185 | IMG.formulaDsp { 186 | } 187 | IMG.formulaInl { 188 | vertical-align: middle; 189 | } 190 | SPAN.keyword { color: #008000 } 191 | SPAN.keywordtype { color: #604020 } 192 | SPAN.keywordflow { color: #e08000 } 193 | SPAN.comment { color: #800000 } 194 | SPAN.preprocessor { color: #806020 } 195 | SPAN.stringliteral { color: #002080 } 196 | SPAN.charliteral { color: #008080 } 197 | SPAN.vhdldigit { color: #ff00ff } 198 | SPAN.vhdlchar { color: #000000 } 199 | SPAN.vhdlkeyword { color: #700070 } 200 | SPAN.vhdllogic { color: #ff0000 } 201 | 202 | .mdescLeft { 203 | padding: 0px 8px 4px 8px; 204 | font-size: 80%; 205 | font-style: italic; 206 | background-color: #FAFAFA; 207 | border-top: 1px none #E0E0E0; 208 | border-right: 1px none #E0E0E0; 209 | border-bottom: 1px none #E0E0E0; 210 | border-left: 1px none #E0E0E0; 211 | margin: 0px; 212 | } 213 | .mdescRight { 214 | padding: 0px 8px 4px 8px; 215 | font-size: 80%; 216 | font-style: italic; 217 | background-color: #FAFAFA; 218 | border-top: 1px none #E0E0E0; 219 | border-right: 1px none #E0E0E0; 220 | border-bottom: 1px none #E0E0E0; 221 | border-left: 1px none #E0E0E0; 222 | margin: 0px; 223 | } 224 | .memItemLeft { 225 | padding: 1px 0px 0px 8px; 226 | margin: 4px; 227 | border-top-width: 1px; 228 | border-right-width: 1px; 229 | border-bottom-width: 1px; 230 | border-left-width: 1px; 231 | border-top-color: #E0E0E0; 232 | border-right-color: #E0E0E0; 233 | border-bottom-color: #E0E0E0; 234 | border-left-color: #E0E0E0; 235 | border-top-style: solid; 236 | border-right-style: none; 237 | border-bottom-style: none; 238 | border-left-style: none; 239 | background-color: #FAFAFA; 240 | font-size: 80%; 241 | } 242 | .memItemRight { 243 | padding: 1px 8px 0px 8px; 244 | margin: 4px; 245 | border-top-width: 1px; 246 | border-right-width: 1px; 247 | border-bottom-width: 1px; 248 | border-left-width: 1px; 249 | border-top-color: #E0E0E0; 250 | border-right-color: #E0E0E0; 251 | border-bottom-color: #E0E0E0; 252 | border-left-color: #E0E0E0; 253 | border-top-style: solid; 254 | border-right-style: none; 255 | border-bottom-style: none; 256 | border-left-style: none; 257 | background-color: #FAFAFA; 258 | font-size: 80%; 259 | } 260 | .memTemplItemLeft { 261 | padding: 1px 0px 0px 8px; 262 | margin: 4px; 263 | border-top-width: 1px; 264 | border-right-width: 1px; 265 | border-bottom-width: 1px; 266 | border-left-width: 1px; 267 | border-top-color: #E0E0E0; 268 | border-right-color: #E0E0E0; 269 | border-bottom-color: #E0E0E0; 270 | border-left-color: #E0E0E0; 271 | border-top-style: none; 272 | border-right-style: none; 273 | border-bottom-style: none; 274 | border-left-style: none; 275 | background-color: #FAFAFA; 276 | font-size: 80%; 277 | } 278 | .memTemplItemRight { 279 | padding: 1px 8px 0px 8px; 280 | margin: 4px; 281 | border-top-width: 1px; 282 | border-right-width: 1px; 283 | border-bottom-width: 1px; 284 | border-left-width: 1px; 285 | border-top-color: #E0E0E0; 286 | border-right-color: #E0E0E0; 287 | border-bottom-color: #E0E0E0; 288 | border-left-color: #E0E0E0; 289 | border-top-style: none; 290 | border-right-style: none; 291 | border-bottom-style: none; 292 | border-left-style: none; 293 | background-color: #FAFAFA; 294 | font-size: 80%; 295 | } 296 | .memTemplParams { 297 | padding: 1px 0px 0px 8px; 298 | margin: 4px; 299 | border-top-width: 1px; 300 | border-right-width: 1px; 301 | border-bottom-width: 1px; 302 | border-left-width: 1px; 303 | border-top-color: #E0E0E0; 304 | border-right-color: #E0E0E0; 305 | border-bottom-color: #E0E0E0; 306 | border-left-color: #E0E0E0; 307 | border-top-style: solid; 308 | border-right-style: none; 309 | border-bottom-style: none; 310 | border-left-style: none; 311 | color: #606060; 312 | background-color: #FAFAFA; 313 | font-size: 80%; 314 | } 315 | .search { 316 | color: #003399; 317 | font-weight: bold; 318 | } 319 | FORM.search { 320 | margin-bottom: 0px; 321 | margin-top: 0px; 322 | } 323 | INPUT.search { 324 | font-size: 75%; 325 | color: #000080; 326 | font-weight: normal; 327 | background-color: #e8eef2; 328 | } 329 | TD.tiny { 330 | font-size: 75%; 331 | } 332 | a { 333 | color: #1A41A8; 334 | } 335 | a:visited { 336 | color: #2A3798; 337 | } 338 | .dirtab { 339 | padding: 4px; 340 | border-collapse: collapse; 341 | border: 1px solid #84b0c7; 342 | } 343 | TH.dirtab { 344 | background: #e8eef2; 345 | font-weight: bold; 346 | } 347 | HR { 348 | height: 1px; 349 | border: none; 350 | border-top: 1px solid black; 351 | } 352 | 353 | /* Style for detailed member documentation */ 354 | .memtemplate { 355 | font-size: 80%; 356 | color: #606060; 357 | font-weight: normal; 358 | margin-left: 3px; 359 | } 360 | .memnav { 361 | background-color: #e8eef2; 362 | border: 1px solid #84b0c7; 363 | text-align: center; 364 | margin: 2px; 365 | margin-right: 15px; 366 | padding: 2px; 367 | } 368 | .memitem { 369 | padding: 4px; 370 | background-color: #eef3f5; 371 | border-width: 1px; 372 | border-style: solid; 373 | border-color: #dedeee; 374 | -moz-border-radius: 8px 8px 8px 8px; 375 | } 376 | .memname { 377 | white-space: nowrap; 378 | font-weight: bold; 379 | } 380 | .memdoc{ 381 | padding-left: 10px; 382 | } 383 | .memproto { 384 | background-color: #d5e1e8; 385 | width: 100%; 386 | border-width: 1px; 387 | border-style: solid; 388 | border-color: #84b0c7; 389 | font-weight: bold; 390 | -moz-border-radius: 8px 8px 8px 8px; 391 | } 392 | .paramkey { 393 | text-align: right; 394 | } 395 | .paramtype { 396 | white-space: nowrap; 397 | } 398 | .paramname { 399 | color: #602020; 400 | font-style: italic; 401 | white-space: nowrap; 402 | } 403 | /* End Styling for detailed member documentation */ 404 | 405 | /* for the tree view */ 406 | .ftvtree { 407 | font-family: sans-serif; 408 | margin:0.5em; 409 | } 410 | /* these are for tree view when used as main index */ 411 | .directory { 412 | font-size: 9pt; 413 | font-weight: bold; 414 | } 415 | .directory h3 { 416 | margin: 0px; 417 | margin-top: 1em; 418 | font-size: 11pt; 419 | } 420 | 421 | /* The following two styles can be used to replace the root node title */ 422 | /* with an image of your choice. Simply uncomment the next two styles, */ 423 | /* specify the name of your image and be sure to set 'height' to the */ 424 | /* proper pixel height of your image. */ 425 | 426 | /* .directory h3.swap { */ 427 | /* height: 61px; */ 428 | /* background-repeat: no-repeat; */ 429 | /* background-image: url("yourimage.gif"); */ 430 | /* } */ 431 | /* .directory h3.swap span { */ 432 | /* display: none; */ 433 | /* } */ 434 | 435 | .directory > h3 { 436 | margin-top: 0; 437 | } 438 | .directory p { 439 | margin: 0px; 440 | white-space: nowrap; 441 | } 442 | .directory div { 443 | display: none; 444 | margin: 0px; 445 | } 446 | .directory img { 447 | vertical-align: -30%; 448 | } 449 | /* these are for tree view when not used as main index */ 450 | .directory-alt { 451 | font-size: 100%; 452 | font-weight: bold; 453 | } 454 | .directory-alt h3 { 455 | margin: 0px; 456 | margin-top: 1em; 457 | font-size: 11pt; 458 | } 459 | .directory-alt > h3 { 460 | margin-top: 0; 461 | } 462 | .directory-alt p { 463 | margin: 0px; 464 | white-space: nowrap; 465 | } 466 | .directory-alt div { 467 | display: none; 468 | margin: 0px; 469 | } 470 | .directory-alt img { 471 | vertical-align: -30%; 472 | } 473 | 474 | -------------------------------------------------------------------------------- /doc/html/_logging_8h.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Logging: K:/Projekte/robotic/arduino/arduino_1-0Patch/libraries/Logging/Logging.h File Reference 4 | 5 | 6 | 7 | 8 | 17 |
18 |

K:/Projekte/robotic/arduino/arduino_1-0Patch/libraries/Logging/Logging.h File Reference

#include <inttypes.h>
19 | #include <stdarg.h>
20 | #include "WProgram.h"
21 | #include <avr/io.h>
22 | 23 |

24 |

25 | Include dependency graph for Logging.h:
26 |
27 |

28 |
29 | 30 |

31 |

32 | This graph shows which files directly or indirectly include this file:
33 |
34 |

35 | 36 | 37 |
38 | 39 |

40 | Go to the source code of this file.

01 FEB 2012initial release
06 MAR 2012implement a preinstanciate object (like in Wire, ...)
methode init get now loglevel and baud parameter
41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 |

Classes

class  Logging

Defines

#define LOG_LEVEL_NOOUTPUT   0
#define LOG_LEVEL_ERRORS   1
#define LOG_LEVEL_INFOS   2
#define LOG_LEVEL_DEBUG   3
#define LOG_LEVEL_VERBOSE   4
#define LOGLEVEL   LOG_LEVEL_DEBUG
#define CR   "\r\n"
#define LOGGING_VERSION   1

Variables

Logging Log
66 |

Define Documentation

67 | 68 |
69 |
70 | 71 | 72 | 73 | 74 |
#define CR   "\r\n"
75 |
76 |
77 | 78 |

79 | 80 |

Definition at line 26 of file Logging.h.

81 | 82 |
83 |

84 | 85 |

86 |
87 | 88 | 89 | 90 | 91 |
#define LOG_LEVEL_DEBUG   3
92 |
93 |
94 | 95 |

96 | 97 |

Definition at line 19 of file Logging.h.

98 | 99 |

Referenced by Logging::Debug().

100 | 101 |
102 |

103 | 104 |

105 |
106 | 107 | 108 | 109 | 110 |
#define LOG_LEVEL_ERRORS   1
111 |
112 |
113 | 114 |

115 | 116 |

Definition at line 17 of file Logging.h.

117 | 118 |

Referenced by Logging::Error().

119 | 120 |
121 |

122 | 123 |

124 |
125 | 126 | 127 | 128 | 129 |
#define LOG_LEVEL_INFOS   2
130 |
131 |
132 | 133 |

134 | 135 |

Definition at line 18 of file Logging.h.

136 | 137 |

Referenced by Logging::Info().

138 | 139 |
140 |

141 | 142 |

143 |
144 | 145 | 146 | 147 | 148 |
#define LOG_LEVEL_NOOUTPUT   0
149 |
150 |
151 | 152 |

153 | 154 |

Definition at line 16 of file Logging.h.

155 | 156 |

Referenced by Logging::Init().

157 | 158 |
159 |

160 | 161 |

162 |
163 | 164 | 165 | 166 | 167 |
#define LOG_LEVEL_VERBOSE   4
168 |
169 |
170 | 171 |

172 | 173 |

Definition at line 20 of file Logging.h.

174 | 175 |

Referenced by Logging::Init(), and Logging::Verbose().

176 | 177 |
178 |

179 | 180 |

181 |
182 | 183 | 184 | 185 | 186 |
#define LOGGING_VERSION   1
187 |
188 |
189 | 190 |

191 | 192 |

Definition at line 27 of file Logging.h.

193 | 194 |
195 |

196 | 197 |

198 |
199 | 200 | 201 | 202 | 203 |
#define LOGLEVEL   LOG_LEVEL_DEBUG
204 |
205 |
206 | 207 |

208 | 209 |

Definition at line 23 of file Logging.h.

210 | 211 |
212 |

213 |


Variable Documentation

214 | 215 |
216 |
217 | 218 | 219 | 220 | 221 |
Logging Log
222 |
223 |
224 | 225 |

226 | 227 |

Definition at line 117 of file Logging.cpp.

228 | 229 |
230 |

231 | 232 |


Generated on Tue Mar 6 20:17:24 2012 for Logging by  233 | 234 | doxygen 1.5.6
235 | 236 | 237 | -------------------------------------------------------------------------------- /doc/html/_logging_8cpp-source.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Logging: K:/Projekte/robotic/arduino/arduino_1-0Patch/libraries/Logging/Logging.cpp Source File 4 | 5 | 6 | 7 | 8 | 142 |
Generated on Tue Mar 6 20:17:24 2012 for Logging by  143 | 144 | doxygen 1.5.6
145 | 146 | 147 | -------------------------------------------------------------------------------- /doc/html/class_logging.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Logging: Logging Class Reference 4 | 5 | 6 | 7 | 8 | 23 |
24 |

Logging Class Reference

#include <Logging.h> 25 |

26 | 27 |

28 | List of all members. 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 |

Public Member Functions

 Logging ()
void Init (int level, long baud)
void Error (char *msg,...)
void Info (char *msg,...)
void Debug (char *msg,...)
void Verbose (char *msg,...)

Private Member Functions

void print (const char *format, va_list args)

Private Attributes

int _level
long _baud
52 |


Detailed Description

53 | Logging is a helper class to output informations over RS232. If you know log4j or log4net, this logging class is more or less similar ;-)
54 | Different loglevels can be used to extend or reduce output All methods are able to handle any number of output parameters. All methods print out a formated string (like printf).
55 | To reduce output and program size, reduce loglevel.
56 | Output format string can contain below wildcards. Every wildcard must be start with percent sign (%)

57 | Depending on loglevel, source code is excluded from compile !
58 |
59 | Wildcards
60 |

    61 |
  • 62 | %s replace with an string (char*)
  • 63 |
  • 64 | %c replace with an character
  • 65 |
  • 66 | %d replace with an integer value
  • 67 |
  • 68 | %l replace with an long value
  • 69 |
  • 70 | %x replace and convert integer value into hex
  • 71 |
  • 72 | %X like x but combine with 0x123AB
  • 73 |
  • 74 | %b replace and convert integer value into binary
  • 75 |
  • 76 | %B like x but combine with 0b10100011
  • 77 |
  • 78 | %t replace and convert boolean value into "t" or "f"
  • 79 |
  • 80 | %T like t but convert into "true" or "false"
  • 81 |
82 |
83 | Loglevels
84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 |
0LOG_LEVEL_NOOUTPUTno output
1LOG_LEVEL_ERRORSonly errors
2LOG_LEVEL_INFOSerrors and info
3LOG_LEVEL_DEBUGerrors, info and debug
4LOG_LEVEL_VERBOSEall
96 |
97 |

History

98 |

99 |
100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 |
01 FEB 2012initial release
06 MAR 2012implement a preinstanciate object (like in Wire, ...)
methode init get now loglevel and baud parameter
108 | 109 |

Definition at line 71 of file Logging.h.

110 |

Constructor & Destructor Documentation

111 | 112 |
113 |
114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 |
Logging::Logging (  )  [inline]
123 |
124 |
125 | 126 |

127 | default Constructor 128 |

Definition at line 79 of file Logging.h.

129 | 130 |
131 |

132 |


Member Function Documentation

133 | 134 |
135 |
136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 |
void Logging::Init (int  level,
long  baud 
)
155 |
156 |
157 | 158 |

159 | Initializing, must be called as first.

Parameters:
160 | 161 | 162 |
void 
163 |
164 |
Returns:
void
165 | 166 |

Definition at line 3 of file Logging.cpp.

167 | 168 |

References _baud, _level, LOG_LEVEL_NOOUTPUT, and LOG_LEVEL_VERBOSE.

169 | 170 |
171 |

172 | 173 |

174 |
175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 |
void Logging::Error (char *  msg,
  ... 
)
194 |
195 |
196 | 197 |

198 | Output an error message. Output message contains ERROR: followed by original msg Error messages are printed out, at every loglevel except 0 ;-)

Parameters:
199 | 200 | 201 | 202 |
msg format string to output
... any number of variables
203 |
204 |
Returns:
void
205 | 206 |

Definition at line 9 of file Logging.cpp.

207 | 208 |

References _level, LOG_LEVEL_ERRORS, and print().

209 | 210 |

211 |

212 | Here is the call graph for this function:
213 |
214 |

215 | 216 | 217 |
218 | 219 |
220 |

221 | 222 |

223 |
224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 |
void Logging::Info (char *  msg,
  ... 
)
243 |
244 |
245 | 246 |

247 | Output an info message. Output message contains Info messages are printed out at l loglevels >= LOG_LEVEL_INFOS

248 |

Parameters:
249 | 250 | 251 | 252 |
msg format string to output
... any number of variables
253 |
254 |
Returns:
void
255 | 256 |

Definition at line 19 of file Logging.cpp.

257 | 258 |

References _level, LOG_LEVEL_INFOS, and print().

259 | 260 |

261 |

262 | Here is the call graph for this function:
263 |
264 |

265 | 266 | 267 |
268 | 269 |
270 |

271 | 272 |

273 |
274 | 275 | 276 | 277 | 278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | 292 |
void Logging::Debug (char *  msg,
  ... 
)
293 |
294 |
295 | 296 |

297 | Output an debug message. Output message contains Debug messages are printed out at l loglevels >= LOG_LEVEL_DEBUG

298 |

Parameters:
299 | 300 | 301 | 302 |
msg format string to output
... any number of variables
303 |
304 |
Returns:
void
305 | 306 |

Definition at line 27 of file Logging.cpp.

307 | 308 |

References _level, LOG_LEVEL_DEBUG, and print().

309 | 310 |

311 |

312 | Here is the call graph for this function:
313 |
314 |

315 | 316 | 317 |
318 | 319 |
320 |

321 | 322 |

323 |
324 | 325 | 326 | 327 | 328 | 329 | 330 | 331 | 332 | 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340 | 341 | 342 |
void Logging::Verbose (char *  msg,
  ... 
)
343 |
344 |
345 | 346 |

347 | Output an verbose message. Output message contains Debug messages are printed out at l loglevels >= LOG_LEVEL_VERBOSE

348 |

Parameters:
349 | 350 | 351 | 352 |
msg format string to output
... any number of variables
353 |
354 |
Returns:
void
355 | 356 |

Definition at line 36 of file Logging.cpp.

357 | 358 |

References _level, LOG_LEVEL_VERBOSE, and print().

359 | 360 |

361 |

362 | Here is the call graph for this function:
363 |
364 |

365 | 366 | 367 |
368 | 369 |
370 |

371 | 372 |

373 |
374 | 375 | 376 | 377 | 378 | 379 | 380 | 381 | 382 | 383 | 384 | 385 | 386 | 387 | 388 | 389 | 390 | 391 | 392 |
void Logging::print (const char *  format,
va_list  args 
) [private]
393 |
394 |
395 | 396 |

397 | 398 |

Definition at line 46 of file Logging.cpp.

399 | 400 |

Referenced by Debug(), Error(), Info(), and Verbose().

401 | 402 |
403 |

404 |


Member Data Documentation

405 | 406 |
407 |
408 | 409 | 410 | 411 | 412 |
int Logging::_level [private]
413 |
414 |
415 | 416 |

417 | 418 |

Definition at line 73 of file Logging.h.

419 | 420 |

Referenced by Debug(), Error(), Info(), Init(), and Verbose().

421 | 422 |
423 |

424 | 425 |

426 |
427 | 428 | 429 | 430 | 431 |
long Logging::_baud [private]
432 |
433 |
434 | 435 |

436 | 437 |

Definition at line 74 of file Logging.h.

438 | 439 |

Referenced by Init().

440 | 441 |
442 |

443 |


The documentation for this class was generated from the following files:
    444 |
  • K:/Projekte/robotic/arduino/arduino_1-0Patch/libraries/Logging/Logging.h
  • K:/Projekte/robotic/arduino/arduino_1-0Patch/libraries/Logging/Logging.cpp
445 |
446 |
Generated on Tue Mar 6 20:17:24 2012 for Logging by  447 | 448 | doxygen 1.5.6
449 | 450 | 451 | --------------------------------------------------------------------------------