1 package org.apache.maven.scm.manager.plexus;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import org.apache.maven.scm.log.ScmLogger;
23 import org.codehaus.plexus.logging.Logger;
24
25
26
27
28
29 @Deprecated
30 public class PlexusLogger
31 implements ScmLogger
32 {
33 private Logger logger;
34
35 public PlexusLogger( Logger logger )
36 {
37 this.logger = logger;
38 }
39
40
41 public boolean isDebugEnabled()
42 {
43 return logger.isDebugEnabled();
44 }
45
46
47 public void debug( String content )
48 {
49 logger.debug( content );
50 }
51
52
53 public void debug( String content, Throwable error )
54 {
55 logger.debug( content, error );
56 }
57
58
59 public void debug( Throwable error )
60 {
61 logger.debug( "", error );
62 }
63
64
65 public boolean isInfoEnabled()
66 {
67 return logger.isInfoEnabled();
68 }
69
70
71 public void info( String content )
72 {
73 logger.info( content );
74 }
75
76
77 public void info( String content, Throwable error )
78 {
79 logger.info( content, error );
80 }
81
82
83 public void info( Throwable error )
84 {
85 logger.info( "", error );
86 }
87
88
89 public boolean isWarnEnabled()
90 {
91 return logger.isWarnEnabled();
92 }
93
94
95 public void warn( String content )
96 {
97 logger.warn( content );
98 }
99
100
101 public void warn( String content, Throwable error )
102 {
103 logger.warn( content, error );
104 }
105
106
107 public void warn( Throwable error )
108 {
109 logger.warn( "", error );
110 }
111
112
113 public boolean isErrorEnabled()
114 {
115 return logger.isErrorEnabled();
116 }
117
118
119 public void error( String content )
120 {
121 logger.error( content );
122 }
123
124
125 public void error( String content, Throwable error )
126 {
127 logger.error( content, error );
128 }
129
130
131 public void error( Throwable error )
132 {
133 logger.error( "", error );
134 }
135 }