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
/
Use_Logger.cpp
blob
805c235b3191c126587c074717d0319882ed1c17
1
#include
"ace/Log_Msg.h"
2
3
int
ACE_TMAIN
(
int
,
ACE_TCHAR
*
argv
[])
4
{
5
ACE_LOG_MSG
->
open
(
argv
[
0
],
6
ACE_Log_Msg
::
LOGGER
,
7
ACE_DEFAULT_LOGGER_KEY
);
8
9
ACE_TRACE
(
"main"
);
10
11
ACE_DEBUG
((
LM_DEBUG
,
ACE_TEXT
(
"%IHi Mom
\n
"
)));
12
ACE_DEBUG
((
LM_INFO
,
ACE_TEXT
(
"%IGoodnight
\n
"
)));
13
14
return
0
;
15
}