b.smali

.class final Lcom/cmcm/safewallet/a/b;
.super Ljava/util/logging/SimpleFormatter;
.source "EasyLogWriter.java"


# direct methods
.method private constructor <init>()V
    .registers 1

    .prologue
    .line 69
    invoke-direct {p0}, Ljava/util/logging/SimpleFormatter;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(B)V
    .registers 2

    .prologue
    .line 69
    invoke-direct {p0}, Lcom/cmcm/safewallet/a/b;-><init>()V

    return-void
.end method


# virtual methods
.method public final declared-synchronized format(Ljava/util/logging/LogRecord;)Ljava/lang/String;
    .registers 8

    .prologue
    .line 72
    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

    invoke-static {}, Lcom/cmcm/safewallet/a/a;->fz()Ljava/text/SimpleDateFormat;

    move-result-object v3

    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_23
    .catchall {:try_start_1 .. :try_end_23} :catchall_26

    move-result-object v0

    monitor-exit p0

    return-object v0

    :catchall_26
    move-exception v0

    monitor-exit p0

    throw v0
.end method