Skip to content
Permalink
Browse files

Patch logger issue with backwards compatibility

  • Loading branch information...
TheTemportalist
TheTemportalist committed Jun 1, 2016
1 parent 4174576 commit c8dea6f983d4fea4e2271280e492e87e2bfc44d0
@@ -178,18 +178,14 @@ def getGitLog = {
return ret
}

task printLog() {
println "git log --pretty='format:%an: %s' e9adb1fb4fac3f2419c15216c21feb75d9ec98bc..HEAD".execute().text
}

curseforge {
println getGitLog()
if (project.hasProperty("tempCurseAPI"))
apiKey = tempCurseAPI
project {
id = curseID
releaseType = curseBuildType
changelog = getChangelog()
changelog = "Patch logger issue with backwards compatibility"
addGameVersion version_minecraft
addArtifact sourcesJar
relations {
@@ -5,7 +5,7 @@ archiveName=Origin

version_major=9
version_minor=1
version_patch=4
version_patch=5
curseID=72503
curseBuildType=release

@@ -22,6 +22,11 @@ abstract class IModPlugin extends NetworkMod with IOptionHandler with Registry {

private var logger: Logger = _

@Deprecated
final def log(str: String, data: AnyRef*): Unit = {
this.log(str.asInstanceOf[Any], data:_*)
}

final def log(obj: Any, data: AnyRef*): Unit = {
if (this.logger != null) {
if (data.nonEmpty) {

0 comments on commit c8dea6f

Please sign in to comment.
You can’t perform that action at this time.