Logging.smali
.class public Lcom/facebook/biddingkit/logging/Logging;
.super Ljava/lang/Object;
# static fields
.field private static a:Z
# direct methods
.method static constructor <clinit>()V
.registers 0
return-void
.end method
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static initialize(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.registers 4
.annotation build Landroid/annotation/SuppressLint;
value = {
"CatchGeneralException"
}
.end annotation
:try_start_0
invoke-static {p0, p1, p2}, Lcom/facebook/biddingkit/logging/a;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
new-instance p1, Lcom/facebook/biddingkit/logging/g;
invoke-direct {p1, p3}, Lcom/facebook/biddingkit/logging/g;-><init>(Ljava/lang/String;)V
invoke-static {p1}, Lcom/facebook/biddingkit/logging/e;->b(Lcom/facebook/biddingkit/logging/g;)V
invoke-static {p0}, Lcom/facebook/biddingkit/logging/d;->a(Landroid/content/Context;)V
invoke-static {}, Lcom/facebook/biddingkit/logging/b;->a()V
:try_end_11
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_11} :catch_12
goto :goto_1a
:catch_12
move-exception p0
const-string p1, "Logging"
const-string p2, "Failed to initialize"
invoke-static {p1, p2, p0}, Lcom/facebook/biddingkit/logging/BkLog;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
:goto_1a
return-void
.end method
.method public static declared-synchronized isDebugBuild()Z
.registers 2
const-class v0, Lcom/facebook/biddingkit/logging/Logging;
monitor-enter v0
:try_start_3
sget-boolean v1, Lcom/facebook/biddingkit/logging/Logging;->a:Z
:try_end_5
.catchall {:try_start_3 .. :try_end_5} :catchall_7
monitor-exit v0
return v1
:catchall_7
move-exception v1
monitor-exit v0
throw v1
.end method
.method public static declared-synchronized setDebugBuild(Z)V
.registers 2
const-class v0, Lcom/facebook/biddingkit/logging/Logging;
monitor-enter v0
:try_start_3
sput-boolean p0, Lcom/facebook/biddingkit/logging/Logging;->a:Z
:try_end_5
.catchall {:try_start_3 .. :try_end_5} :catchall_7
monitor-exit v0
return-void
:catchall_7
move-exception p0
monitor-exit v0
throw p0
.end method