Permalink
Browse files

Export level names to JavaScript

  • Loading branch information...
sarahgerweck committed Mar 16, 2018
1 parent 8ffdfc8 commit bfd3174a64a27659688b9b1f7a3103db5356f48f
Showing with 1 addition and 0 deletions.
  1. +1 −0 core/shared/src/main/scala/org/log4s/LogLevel.scala
@@ -6,6 +6,7 @@ import js.annotation._
/** A severity level that can be assigned to log statements. */
sealed trait LogLevel {
/** The name of this log level. It is spelled with initial capitals */
@JSExport
def name: String = this.toString
/** The name of the SLF4J method that does logging at this level */

0 comments on commit bfd3174

Please sign in to comment.