Tweak logging levels.

This commit is contained in:
Daniel Scalzi
2020-09-07 17:08:37 -04:00
parent 7c099f749d
commit cd7b4d8abc
2 changed files with 4 additions and 4 deletions

View File

@@ -2,7 +2,7 @@ export interface ClaritasModuleMetadata {
/** /**
* Present on ForgeMods (1.7-1.12) of type MOD. * Present on ForgeMods (1.7-1.12) of type MOD.
* Possibly present on ForgeMods (1.7-1.12) of type CORE_MOD. * Possibly present on ForgeMods (1.7-1.12) of type CORE_MOD and TWEAKER.
* Always present on ForgeMods 1.13+. * Always present on ForgeMods 1.13+.
* Never present in all other circumstances. * Never present in all other circumstances.
*/ */

View File

@@ -124,7 +124,7 @@ export class ForgeModStructure17 extends BaseForgeModStructure {
this.logger.error(`ForgeMod ${name} contains an invalid mcmod.info file.`) this.logger.error(`ForgeMod ${name} contains an invalid mcmod.info file.`)
} }
} else { } else {
this.logger.error(`ForgeMod ${name} does not contain mcmod.info file.`) this.logger.warn(`ForgeMod ${name} does not contain mcmod.info file.`)
} }
const cRes = this.claritasResult[path] const cRes = this.claritasResult[path]
@@ -135,10 +135,10 @@ export class ForgeModStructure17 extends BaseForgeModStructure {
} else { } else {
switch(cRes.modType!) { switch(cRes.modType!) {
case ForgeModType_1_7.CORE_MOD: case ForgeModType_1_7.CORE_MOD:
this.logger.warn(`CORE_MOD Discovered: ForgeMod ${name} has no @Mod annotation. Metadata inference capabilities are limited.`) this.logger.info(`CORE_MOD Discovered: ForgeMod ${name} has no @Mod annotation. Metadata inference capabilities are limited.`)
break break
case ForgeModType_1_7.TWEAKER: case ForgeModType_1_7.TWEAKER:
this.logger.warn(`TWEAKER Discovered: ForgeMod ${name} has no @Mod annotation. Metadata inference capabilities may be limited.`) this.logger.info(`TWEAKER Discovered: ForgeMod ${name} has no @Mod annotation. Metadata inference capabilities may be limited.`)
break break
case ForgeModType_1_7.UNKNOWN: case ForgeModType_1_7.UNKNOWN:
this.logger.error(`Jar file ${name} is not a ForgeMod. Is it a library?`) this.logger.error(`Jar file ${name} is not a ForgeMod. Is it a library?`)