Permalink
Browse files

* Much nicer example

* Added JsCmds.FocusOnLoad (neat! )
* Added plugins to project folder
  • Loading branch information...
1 parent e869166 commit 362956d952f920e62796b3586a38c6926cb54a77 @fmpwizard committed Jan 26, 2012
Showing with 27 additions and 0 deletions.
  1. +6 −0 project/build.sbt
  2. +21 −0 src/main/resources/props/default.logback.xml
View
@@ -0,0 +1,6 @@
+resolvers += "sbt-idea-repo" at "http://mpeltonen.github.com/maven/"
+
+addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.0.0")
+
+libraryDependencies <+= sbtVersion(v => "com.github.siasia" %% "xsbt-web-plugin" % (v+"-0.2.10"))
+
@@ -0,0 +1,21 @@
+<configuration>
+ <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+ <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
+ <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
+ </encoder>
+ </appender>
+ <appender name="FILE" class="ch.qos.logback.core.FileAppender">
+ <file>console.devmode.log</file>
+ <append>true</append>
+ <encoder>
+ <pattern>%-4relative [%thread] %-5level %logger{35} - %msg%n</pattern>
+ </encoder>
+ </appender>
+
+
+
+ <logger name="code.snippet" level="info" />
+ <root level="error">
+ <appender-ref ref="STDOUT" />
+ </root>
+</configuration>

0 comments on commit 362956d

Please sign in to comment.