Ignore:
Timestamp:
01/07/05 12:58:11 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mbase
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MLog.h

    r4722 r5715  
    190190    void WriteEnv(TEnv &env, TString prefix="", Bool_t print=kFALSE) const;
    191191
    192     void Separator(TString str="", int outlvl=0)
     192    MLog &Separator(TString str="", int outlvl=0)
    193193    {
    194194        if (!str.IsNull())
     
    207207        (*this) << str << std::endl;
    208208        fOutputLevel = save;
     209
     210        return *this;
    209211    }
    210212
  • trunk/MagicSoft/Mars/mbase/MPrint.cc

    r3142 r5715  
    6565{
    6666    Init(0, 0);
    67     SetBit(kSeperator);
     67    SetBit(kSeparator);
    6868}
    6969
     
    118118    // The pointer is already given by the user.
    119119    //
    120     if (fObject || TestBit(kSeperator))
     120    if (fObject || TestBit(kSeparator))
    121121        return kTRUE;
    122122
     
    149149Int_t MPrint::Process()
    150150{
    151     if (TestBit(kSeperator))
    152         gLog << endl << setfill('-') << setw(72) << "-" << endl << endl;
     151    if (TestBit(kSeparator))
     152        gLog.Separator() << endl;
    153153    else
    154154        fObject->Print(fOption);
  • trunk/MagicSoft/Mars/mbase/MPrint.h

    r2580 r5715  
    1515    TString fOption;         // Print option
    1616
    17     enum { kSkip = BIT(14), kSeperator = BIT(15) };
     17    enum { kSkip = BIT(14), kSeparator = BIT(15) };
    1818
    1919    void Init(const char *name, const char *title);
Note: See TracChangeset for help on using the changeset viewer.