Skip to content

Fix "dead code following this construct" warnings #62

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ private[logger] trait Log4JavaScript extends js.Object {

@js.native
private[logger] trait Level extends js.Object {
val ALL:Level = js.native
val TRACE:Level = js.native
val DEBUG:Level = js.native
val INFO:Level = js.native
val WARN:Level = js.native
val ERROR:Level = js.native
val FATAL:Level = js.native
def ALL:Level = js.native
def TRACE:Level = js.native
def DEBUG:Level = js.native
def INFO:Level = js.native
def WARN:Level = js.native
def ERROR:Level = js.native
def FATAL:Level = js.native
}

@js.native
Expand Down Expand Up @@ -75,7 +75,7 @@ private[logger] class AjaxAppender(url:String) extends Appender {
@js.native
@js.annotation.JSGlobalScope
private[logger] object Log4JavaScript extends js.Object {
val log4javascript:Log4JavaScript = js.native
def log4javascript:Log4JavaScript = js.native
}

class L4JSLogger(jsLogger:JSLogger) extends Logger {
Expand Down