English 中文(简体)
如何在游戏2上添加额外的标识?
原标题:How do you add an extra logger on play 2.0?

我一直在寻找2号游戏的文件,但我找不到与增加额外记录有关的任何东西。

你们对如何做到这一点是否有任何想法?

是否通过增加《人民军法》等额外的xml,或者通过创建特定类别,你可以这样做?

问题回答

The configuration of the log is described here. And yes you must write some xml for logback. I hope this answer your question. If you want to change the log-implementation, I hope biesior is right.

无,你不需要使用XML。 页: 1

val appDependencies = Seq(
  "log4j" % "log4j" % "1.2.16"
) 

然后在终端站进行<条码>更新的指挥,以便从存放处提取jar,并且所有 the





相关问题
How to create a custom validator in Play Framework 2.0?

Play 1.0 comes with a full featured validation framework base on http://oval.sourceforge.net/. With the release of 2.0, my custom validators do not work anymore. How does one create custom validator ...

How to contribute modules in Play Framework 2.0?

The original Play Framework 1.x had an elegant and simple module management system. Coupled with the Play repository, it was a great way to quickly enhance an application with third party components &...

How to define a tag with Play 2.0?

There isn t much documentation about Play 2.0 template engine. How does one create a tag using Scala template?

热门标签