Difference: LhPackage (6 vs. 7)

Revision 72020-04-22 - ZhuChengguang

Line: 1 to 1
 
META TOPICPARENT name="LhSoft"
Line: 60 to 60
 
    1. LogDebug <<" ......" <<std::endl;
    2. LogFatal <<"......"<<std::endl;
  1. LodeStar 定义了6个级别的输出,分别为
Changed:
<
<
    1. #define LogTest SNIPERLOG(0) #define LogDebug SNIPERLOG(2) #define LogInfo SNIPERLOG(3) #define LogWarn SNIPERLOG(4) #define LogError SNIPERLOG(5) #define LogFatal SNIPERLOG(6)
>
>
    1. #define LogTest SNIPERLOG(0) 
    2. #define LogDebug SNIPERLOG(2) 
    3. #define LogInfo SNIPERLOG(3) 
    4. #define LogWarn SNIPERLOG(4) 
    5. #define LogError SNIPERLOG(5) 
    6. #define LogFatal SNIPERLOG(6)
 
  1. 根据信息的性质,选择以上六个中的一个,实际运行中,可以设置输出级别从而限制输出的数量
  2. 使用时,需要 #include "SniperKernel/SniperLog.h"
Deleted:
<
<
-- Chengguang ZHU - 2020-04-09
 

Comments


<--/commentPlugin-->
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback