MCPcopy Create free account
hub / github.com/mikro-orm/mikro-orm / log

Method log

packages/sql/src/schema/SchemaComparator.ts:867–873  ·  view source on GitHub ↗
(msg: string, params: Dictionary)

Source from the content-addressed store, hash-verified

865 );
866
867 const log = (msg: string, params: Dictionary) => {
868 if (logging) {
869 const copy = Utils.copy(params);
870 Utils.dropUndefinedProperties(copy);
871 this.log(msg, copy);
872 }
873 };
874
875 if (
876 fromColumnType !== toColumnType &&

Callers 6

compareMethod · 0.95
compareRoutinesMethod · 0.95
diffRoutineMethod · 0.95
diffTableMethod · 0.95
detectColumnRenamingsMethod · 0.95
detectIndexRenamingsMethod · 0.95

Calls 4

inspectFunction · 0.90
copyMethod · 0.80
logMethod · 0.65

Tested by

no test coverage detected