200 lines
4.1 KiB
Smali
200 lines
4.1 KiB
Smali
.class public final Lio/fabric/sdk/android/b;
|
|
.super Ljava/lang/Object;
|
|
.source "DefaultLogger.java"
|
|
|
|
# interfaces
|
|
.implements Lio/fabric/sdk/android/l;
|
|
|
|
|
|
# instance fields
|
|
.field private bep:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 v0, 0x3
|
|
|
|
iput v0, p0, Lio/fabric/sdk/android/b;->bep:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(B)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 p1, 0x4
|
|
|
|
iput p1, p0, Lio/fabric/sdk/android/b;->bep:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final ab(Ljava/lang/String;Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x4
|
|
|
|
invoke-virtual {p0, p1, v0}, Lio/fabric/sdk/android/b;->isLoggable(Ljava/lang/String;I)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-static {p1, p2, v0}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final d(ILjava/lang/String;Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
invoke-virtual {p0, p2, p1}, Lio/fabric/sdk/android/b;->isLoggable(Ljava/lang/String;I)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-static {p1, p2, p3}, Landroid/util/Log;->println(ILjava/lang/String;Ljava/lang/String;)I
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final d(Ljava/lang/String;Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-virtual {p0, p1, p2, v0}, Lio/fabric/sdk/android/b;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x3
|
|
|
|
invoke-virtual {p0, p1, v0}, Lio/fabric/sdk/android/b;->isLoggable(Ljava/lang/String;I)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-static {p1, p2, p3}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final e(Ljava/lang/String;Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-virtual {p0, p1, p2, v0}, Lio/fabric/sdk/android/b;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x6
|
|
|
|
invoke-virtual {p0, p1, v0}, Lio/fabric/sdk/android/b;->isLoggable(Ljava/lang/String;I)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-static {p1, p2, p3}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final isLoggable(Ljava/lang/String;I)Z
|
|
.locals 1
|
|
|
|
iget v0, p0, Lio/fabric/sdk/android/b;->bep:I
|
|
|
|
if-le v0, p2, :cond_1
|
|
|
|
invoke-static {p1, p2}, Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final v(Ljava/lang/String;Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x2
|
|
|
|
invoke-virtual {p0, p1, v0}, Lio/fabric/sdk/android/b;->isLoggable(Ljava/lang/String;I)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-static {p1, p2, v0}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final w(Ljava/lang/String;Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-virtual {p0, p1, p2, v0}, Lio/fabric/sdk/android/b;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x5
|
|
|
|
invoke-virtual {p0, p1, v0}, Lio/fabric/sdk/android/b;->isLoggable(Ljava/lang/String;I)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-static {p1, p2, p3}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|