.class public Le/i/a/a$a; .super Ljava/lang/Object; .source "Log.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Le/i/a/a; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x9 name = "a" .end annotation # instance fields .field public a:J # direct methods .method public constructor ()V .locals 2 invoke-direct {p0}, Ljava/lang/Object;->()V new-instance v0, Ljava/util/Date; invoke-direct {v0}, Ljava/util/Date;->()V invoke-virtual {v0}, Ljava/util/Date;->getTime()J move-result-wide v0 iput-wide v0, p0, Le/i/a/a$a;->a:J return-void .end method # virtual methods .method public a(ILjava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V .locals 10 new-instance v0, Ljava/lang/StringBuilder; const/16 v1, 0x100 invoke-direct {v0, v1}, Ljava/lang/StringBuilder;->(I)V new-instance v2, Ljava/util/Date; invoke-direct {v2}, Ljava/util/Date;->()V invoke-virtual {v2}, Ljava/util/Date;->getTime()J move-result-wide v2 iget-wide v4, p0, Le/i/a/a$a;->a:J sub-long/2addr v2, v4 const-wide/32 v4, 0xea60 div-long v4, v2, v4 const-wide/16 v6, 0x3e8 div-long/2addr v2, v6 const-wide/16 v6, 0x3c rem-long/2addr v2, v6 const/16 v6, 0x30 const-wide/16 v7, 0x9 cmp-long v9, v4, v7 if-gtz v9, :cond_0 invoke-virtual {v0, v6}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; :cond_0 invoke-virtual {v0, v4, v5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder; const/16 v4, 0x3a invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; cmp-long v4, v2, v7 if-gtz v4, :cond_1 invoke-virtual {v0, v6}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; :cond_1 invoke-virtual {v0, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder; const/4 v2, 0x1 if-eq p1, v2, :cond_6 const/4 v2, 0x2 if-eq p1, v2, :cond_5 const/4 v2, 0x3 if-eq p1, v2, :cond_4 const/4 v2, 0x4 if-eq p1, v2, :cond_3 const/4 v2, 0x5 if-eq p1, v2, :cond_2 goto :goto_0 :cond_2 const-string p1, " ERROR: " invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; goto :goto_0 :cond_3 const-string p1, " WARN: " invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; goto :goto_0 :cond_4 const-string p1, " INFO: " invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; goto :goto_0 :cond_5 const-string p1, " DEBUG: " invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; goto :goto_0 :cond_6 const-string p1, " TRACE: " invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; :goto_0 if-eqz p2, :cond_7 const/16 p1, 0x5b invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string p1, "] " invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; :cond_7 invoke-virtual {v0, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; if-eqz p4, :cond_8 new-instance p1, Ljava/io/StringWriter; invoke-direct {p1, v1}, Ljava/io/StringWriter;->(I)V new-instance p2, Ljava/io/PrintWriter; invoke-direct {p2, p1}, Ljava/io/PrintWriter;->(Ljava/io/Writer;)V invoke-virtual {p4, p2}, Ljava/lang/Throwable;->printStackTrace(Ljava/io/PrintWriter;)V const/16 p2, 0xa invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; invoke-virtual {p1}, Ljava/io/StringWriter;->toString()Ljava/lang/String; move-result-object p1 invoke-virtual {p1}, Ljava/lang/String;->trim()Ljava/lang/String; move-result-object p1 invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; :cond_8 invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p1 sget-object p2, Ljava/lang/System;->out:Ljava/io/PrintStream; invoke-virtual {p2, p1}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V return-void .end method