We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1bdfc8 commit 289812aCopy full SHA for 289812a
3 files changed
Cargo.toml
@@ -9,7 +9,7 @@ description = "Astroneer Modloader"
9
[workspace.dependencies]
10
astro_mod_integrator = { path = "./astro_mod_integrator" }
11
12
-unreal_mod_manager = { rev = "a2a39b8deefe0448aceff0492b4ca10889bf676a", git = "https://github.com/AstroTechies/unrealmodding", features = [
+unreal_mod_manager = { rev = "c636ad4e30c0f048f931d03a803d233c06dbf5d8", git = "https://github.com/AstroTechies/unrealmodding", features = [
13
"ue4_23",
14
"cpp_loader",
15
] }
astro_mod_integrator/baked/800-CoreMod-0.1.0_P/metadata.json
@@ -8,7 +8,8 @@
8
"persistent_actors": ["/Game/Integrator/NotificationActor"],
"persistent_actor_maps": [
"Astro/Content/Maps/Staging_T2.umap",
- "Astro/Content/Maps/Staging_T2_PackedPlanets_Switch.umap"
+ "Astro/Content/Maps/Staging_T2_PackedPlanets_Switch.umap",
+ "Astro/Content/U32_Expansion/U32_Expansion.umap"
]
}
astro_modloader/src/logging.rs
@@ -47,16 +47,23 @@ impl Log for SimpleLogger {
47
48
// just log debug and above, as otherwise logs are far, far too verbose
49
if record.level() <= Level::Debug {
50
- let level = match record.level() {
+ let level_colored = match record.level() {
51
Level::Error => "ERROR".red(),
52
Level::Warn => "WARN".yellow(),
53
Level::Info => "INFO".green(),
54
Level::Debug => "DEBUG".cyan(),
55
Level::Trace => "TRACE".blue(),
56
};
57
+ let level = match record.level() {
58
+ Level::Error => "ERROR",
59
+ Level::Warn => "WARN",
60
+ Level::Info => "INFO",
61
+ Level::Debug => "DEBUG",
62
+ Level::Trace => "TRACE",
63
+ };
64
65
println!(
- "{}{level:<5} {file_path}:{}{} {}",
66
+ "{}{level_colored:<5} {file_path}:{}{} {}",
67
"[".truecolor(100, 100, 100),
68
record.line().unwrap_or(0),
69
"]".truecolor(100, 100, 100),
0 commit comments