Loggable$class.java
2.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* org.slf4j.Logger
* org.slf4j.LoggerFactory
* scala.Function0
*/
package com.adobe.forms.logging;
import com.adobe.forms.logging.Loggable;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import scala.Function0;
public abstract class Loggable$class {
public static Logger logger(Loggable $this) {
return LoggerFactory.getLogger($this.getClass());
}
public static boolean debug_$qmark(Loggable $this) {
return $this.logger().isDebugEnabled();
}
public static boolean info_$qmark(Loggable $this) {
return $this.logger().isInfoEnabled();
}
public static boolean warn_$qmark(Loggable $this) {
return $this.logger().isWarnEnabled();
}
public static boolean error_$qmark(Loggable $this) {
return $this.logger().isErrorEnabled();
}
public static void debug(Loggable $this, Function0 msg, Function0 t) {
if ($this.debug_$qmark()) {
if (t.apply() == null) {
$this.logger().debug(msg.apply().toString());
} else {
$this.logger().debug(msg.apply().toString(), (Throwable)t.apply());
}
}
}
public static Throwable debug$default$2(Loggable $this) {
return null;
}
public static void info(Loggable $this, Function0 msg, Function0 t) {
if ($this.info_$qmark()) {
if (t.apply() == null) {
$this.logger().info(msg.apply().toString());
} else {
$this.logger().info(msg.apply().toString(), (Throwable)t.apply());
}
}
}
public static Throwable info$default$2(Loggable $this) {
return null;
}
public static void warn(Loggable $this, Function0 msg, Function0 t) {
if ($this.warn_$qmark()) {
if (t.apply() == null) {
$this.logger().warn(msg.apply().toString());
} else {
$this.logger().warn(msg.apply().toString(), (Throwable)t.apply());
}
}
}
public static Throwable warn$default$2(Loggable $this) {
return null;
}
public static void error(Loggable $this, Function0 msg, Function0 t) {
if ($this.error_$qmark()) {
if (t.apply() == null) {
$this.logger().error(msg.apply().toString());
} else {
$this.logger().error(msg.apply().toString(), (Throwable)t.apply());
}
}
}
public static Throwable error$default$2(Loggable $this) {
return null;
}
public static void $init$(Loggable $this) {
}
}