Files
Mantle/src/mantle/compat/plugins/PluginDebug.scala
T
2013-10-31 01:07:52 +00:00

35 lines
519 B
Scala

package mantle.compat.plugins
import mantle.compat.lib.CompatRepo._
/**
* Debug info plugin
*
* @author Sunstrike <[email protected]>
*/
object PluginDebug extends ICompatPlugin {
def providedMod: String = "Mantle-Compat"
def accept() {
log("Accepted by manager.")
}
def preInit() {
log("Reached preinit.")
}
def init() {
log("Reached init.")
}
def postInit() {
log("Reached postinit.")
}
private def log(msg:String) {
logger.info(s"[PluginDebug] $msg")
}
}