##### Coverage Report - org.apache.maven.shared.io.logging.MojoLogSink

Classes in this File | Line Coverage | Branch Coverage | Complexity
MojoLogSink |
0% | 0/13
N/A | N/A
| 1.0;1

1 |  |
     package org.apache.maven.shared.io.logging;
2 |  |
3 |  |
     import org.apache.maven.plugin.logging.Log;
4 |  |
5 |  |
6 |  |
     public class MojoLogSink
7 |  |
         implements MessageSink
8 |  |
     {
9 |  |
10 |  |
         private final Log logger;
11 |  |
12 |  |
         public MojoLogSink( Log logger )
13 | 0 |
         {
14 | 0 |
             this.logger = logger;
15 | 0 |
         }
16 |  |
17 |  |
         public void debug( String message )
18 |  |
         {
19 | 0 |
             logger.debug( message );
20 | 0 |
         }
21 |  |
22 |  |
         public void error( String message )
23 |  |
         {
24 | 0 |
             logger.error( message );
25 | 0 |
         }
26 |  |
27 |  |
         public void info( String message )
28 |  |
         {
29 | 0 |
             logger.info( message );
30 | 0 |
         }
31 |  |
32 |  |
         public void severe( String message )
33 |  |
         {
34 | 0 |
             logger.error( message );
35 | 0 |
         }
36 |  |
37 |  |
         public void warning( String message )
38 |  |
         {
39 | 0 |
             logger.warn( message );
40 | 0 |
         }
41 |  |
42 |  |
     }