Mikkel Hjortshoej 5 年之前
父节点
当前提交
d749f5c704
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/log/file_console_logger.odin

+ 1 - 1
core/log/file_console_logger.odin

@@ -135,7 +135,7 @@ do_location_header :: proc(opts: Options, buf: ^strings.Builder, location := #ca
 	}
 	}
 
 
 	if .Procedure in opts {
 	if .Procedure in opts {
-		if (Location_File_Opts | {.Procedure}) & opts != nil {
+		if (Location_File_Opts | {.Line}) & opts != nil {
 			fmt.sbprint(buf, ":");
 			fmt.sbprint(buf, ":");
 		}
 		}
 		fmt.sbprintf(buf, "%s()", location.procedure);
 		fmt.sbprintf(buf, "%s()", location.procedure);