OpLog$OpLogFormatter.smali
.class public Lcom/cleanmaster/util/OpLog$OpLogFormatter;
.super Ljava/util/logging/SimpleFormatter;
.source "OpLog.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/cleanmaster/util/OpLog;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "OpLogFormatter"
.end annotation
# direct methods
.method public constructor <init>()V
.registers 1
.prologue
.line 190
invoke-direct {p0}, Ljava/util/logging/SimpleFormatter;-><init>()V
return-void
.end method
# virtual methods
.method public declared-synchronized format(Ljava/util/logging/LogRecord;)Ljava/lang/String;
.registers 8
.prologue
.line 193
monitor-enter p0
:try_start_1
const-string v0, "%s : %s\n"
const/4 v1, 0x2
new-array v1, v1, [Ljava/lang/Object;
const/4 v2, 0x0
sget-object v3, Lcom/cleanmaster/util/OpLog;->LOG_TIME:Ljava/text/SimpleDateFormat;
invoke-virtual {p1}, Ljava/util/logging/LogRecord;->getMillis()J
move-result-wide v4
invoke-static {v4, v5}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v4
invoke-virtual {v3, v4}, Ljava/text/SimpleDateFormat;->format(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v3
aput-object v3, v1, v2
const/4 v2, 0x1
invoke-virtual {p1}, Ljava/util/logging/LogRecord;->getMessage()Ljava/lang/String;
move-result-object v3
aput-object v3, v1, v2
invoke-static {v0, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
:try_end_21
.catchall {:try_start_1 .. :try_end_21} :catchall_24
move-result-object v0
monitor-exit p0
return-object v0
:catchall_24
move-exception v0
monitor-exit p0
throw v0
.end method