1. Project Clover database Sat Feb 2 2019 06:45:20 CET
  2. Package org.xwiki.logging.event

File EndLogEvent.java

 

Coverage histogram

../../../../img/srcFileCovDistChart5.png
76% of files have more coverage

Code metrics

0
3
4
1
81
24
4
1.33
0.75
4
1

Classes

Class Line # Actions
EndLogEvent 32 3 0% 4 4
0.4285714342.9%
 

Contributing tests

This file is covered by 67 tests. .

Source view

1    /*
2    * See the NOTICE file distributed with this work for additional
3    * information regarding copyright ownership.
4    *
5    * This is free software; you can redistribute it and/or modify it
6    * under the terms of the GNU Lesser General Public License as
7    * published by the Free Software Foundation; either version 2.1 of
8    * the License, or (at your option) any later version.
9    *
10    * This software is distributed in the hope that it will be useful,
11    * but WITHOUT ANY WARRANTY; without even the implied warranty of
12    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13    * Lesser General Public License for more details.
14    *
15    * You should have received a copy of the GNU Lesser General Public
16    * License along with this software; if not, write to the Free
17    * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
18    * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
19    */
20    package org.xwiki.logging.event;
21   
22    import org.slf4j.Marker;
23    import org.xwiki.logging.LogLevel;
24    import org.xwiki.observation.event.EndEvent;
25   
26    /**
27    * The beginning of a group of logs.
28    *
29    * @version $Id: bd17218dfdc05e31081f71bc7105458f8d502efa $
30    * @since 5.4RC1
31    */
 
32    public class EndLogEvent extends LogEvent implements EndEvent
33    {
34    /**
35    * Serialization identifier.
36    */
37    private static final long serialVersionUID = 1L;
38   
39    /**
40    * Matches any {@link LogEvent}.
41    */
 
42  59 toggle protected EndLogEvent()
43    {
44   
45    }
46   
47    /**
48    * @param logEvent the log event to copy
49    */
 
50  0 toggle public EndLogEvent(LogEvent logEvent)
51    {
52  0 super(logEvent);
53    }
54   
55    /**
56    * @param marker the log marker
57    * @param level the log level
58    * @param message the log message
59    * @param argumentArray the event arguments to insert in the message
60    * @param throwable the throwable associated to the event
61    */
 
62  0 toggle public EndLogEvent(Marker marker, LogLevel level, String message, Object[] argumentArray, Throwable throwable)
63    {
64  0 super(marker, level, message, argumentArray, throwable);
65    }
66   
67    /**
68    * @param marker the log marker
69    * @param level the log level
70    * @param message the log message
71    * @param argumentArray the event arguments to insert in the message
72    * @param throwable the throwable associated to the event
73    * @param timeStamp the number of milliseconds elapsed from 1/1/1970 until logging event was created.
74    * @since 6.4M1
75    */
 
76  3228 toggle public EndLogEvent(Marker marker, LogLevel level, String message, Object[] argumentArray, Throwable throwable,
77    long timeStamp)
78    {
79  3228 super(marker, level, message, argumentArray, throwable, timeStamp);
80    }
81    }