• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mybatis / mybatis-3 / #3795

26 Sep 2024 10:30PM CUT coverage: 87.068% (+0.009%) from 87.059%
#3795

Pull #3253

github

web-flow
Merge 97207bb8d into 7e8d83678
Pull Request #3253: chore(deps): update dependency net.bytebuddy:byte-buddy-agent to v1.15.3

3512 of 4263 branches covered (82.38%)

9345 of 10733 relevant lines covered (87.07%)

0.87 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/java/org/apache/ibatis/logging/slf4j/Slf4jLoggerImpl.java
1
/*
2
 *    Copyright 2009-2022 the original author or authors.
3
 *
4
 *    Licensed under the Apache License, Version 2.0 (the "License");
5
 *    you may not use this file except in compliance with the License.
6
 *    You may obtain a copy of the License at
7
 *
8
 *       https://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 *    Unless required by applicable law or agreed to in writing, software
11
 *    distributed under the License is distributed on an "AS IS" BASIS,
12
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 *    See the License for the specific language governing permissions and
14
 *    limitations under the License.
15
 */
16
package org.apache.ibatis.logging.slf4j;
17

18
import org.apache.ibatis.logging.Log;
19
import org.slf4j.Logger;
20

21
/**
22
 * @author Eduardo Macarron
23
 */
24
class Slf4jLoggerImpl implements Log {
25

26
  private final Logger log;
27

28
  public Slf4jLoggerImpl(Logger logger) {
×
29
    log = logger;
×
30
  }
×
31

32
  @Override
33
  public boolean isDebugEnabled() {
34
    return log.isDebugEnabled();
×
35
  }
36

37
  @Override
38
  public boolean isTraceEnabled() {
39
    return log.isTraceEnabled();
×
40
  }
41

42
  @Override
43
  public void error(String s, Throwable e) {
44
    log.error(s, e);
×
45
  }
×
46

47
  @Override
48
  public void error(String s) {
49
    log.error(s);
×
50
  }
×
51

52
  @Override
53
  public void debug(String s) {
54
    log.debug(s);
×
55
  }
×
56

57
  @Override
58
  public void trace(String s) {
59
    log.trace(s);
×
60
  }
×
61

62
  @Override
63
  public void warn(String s) {
64
    log.warn(s);
×
65
  }
×
66

67
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc