Changeset 2123 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 05/20/03 10:19:41 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MLog.h
r2121 r2123 171 171 void SetNoColors(Bool_t flag=kTRUE) { flag ? SetBit(eNoColors) : ResetBit(eNoColors); } 172 172 173 void Separator(TString str="", int outlvl=0) 174 { 175 if (!str.IsNull()) 176 { 177 const Int_t l = (78-str.Length())/2-3; 178 str.Prepend("={ "); 179 str.Prepend('-', l); 180 str.Append(" }="); 181 str.Append('-', l); 182 } 183 if (str.Length()<78) 184 str.Append('-', 78-str.Length()); 185 186 const int save = fOutputLevel; 187 SetOutputLevel(outlvl); 188 (*this) << str << endl; 189 fOutputLevel = save; 190 } 191 173 192 ClassDef(MLog, 0) // This is what we call 'The logging system' 174 193 };
Note:
See TracChangeset
for help on using the changeset viewer.