repo.or.cz
/
ACE_TAO.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git]
/
ACE
/
examples
/
APG
/
Logging
/
Simple1.cpp
blob
3c390f2c25b20a91e8196f348a246f245927ac3c
1
#include
"ace/Log_Msg.h"
2
3
void
foo
();
4
5
int
ACE_TMAIN
(
int
,
ACE_TCHAR
*[])
6
{
7
ACE_TRACE
(
"main"
);
8
9
ACE_DEBUG
((
LM_INFO
,
ACE_TEXT
(
"%IHi Mom
\n
"
)));
10
foo
();
11
ACE_DEBUG
((
LM_INFO
,
ACE_TEXT
(
"%IGoodnight
\n
"
)));
12
13
return
0
;
14
}
15
16
void
foo
()
17
{
18
ACE_TRACE
(
"foo"
);
19
20
ACE_DEBUG
((
LM_INFO
,
ACE_TEXT
(
"%IHowdy Pardner
\n
"
)));
21
}