Subversion Repositories DevTools

Rev

Rev 6914 | Rev 7082 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6914 Rev 7033
Line 1... Line 1...
1
package com.erggroup.buildtool.ripple;
1
package com.erggroup.buildtool.ripple;
2
 
2
 
3
import org.apache.log4j.Logger;
3
import org.slf4j.Logger;
-
 
4
import org.slf4j.LoggerFactory;
4
 
5
 
5
public class Phase
6
public class Phase
6
{
7
{
7
    private static final Logger mLogger = Logger.getLogger(Phase.class);
8
    private static final Logger mLogger = LoggerFactory.getLogger(Phase.class);
8
    
9
    
9
    public long    startTime = 0;
10
    public long    startTime = 0;
10
    public String  sText = "";
11
    public String  sText = "";
11
    public String  sPrefix ="";
12
    public String  sPrefix ="";
12
    public long    careFactor = 0;
13
    public long    careFactor = 0;
Line 57... Line 58...
57
        if (bDisplay)
58
        if (bDisplay)
58
        {
59
        {
59
            if ( !sText.equals(text) )
60
            if ( !sText.equals(text) )
60
            {
61
            {
61
                //  Display duration of previous phase
62
                //  Display duration of previous phase
62
                mLogger.fatal(toString());
63
                mLogger.error("{}", this);
63
                reset(text,cf);
64
                reset(text,cf);
64
            }
65
            }
65
        }
66
        }
66
        else
67
        else
67
        {
68
        {