Skip to content

Commit

Permalink
Improved log message consistency (use the phrase "Completed in")
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Jun 19, 2013
1 parent 5424003 commit f5e657a
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions doomsday/client/src/dd_main.cpp
Expand Up @@ -2013,7 +2013,7 @@ boolean DD_Init(void)
Con_Message(" Processing \"%s\"...", F_PrettyPath(arg));
Con_ParseCommands(arg);
}
VERBOSE( Con_Message(" Done in %.2f seconds.", (Timer_RealMilliseconds() - startTime) / 1000.0f) );
VERBOSE( Con_Message(" Completed in %.2f seconds.", (Timer_RealMilliseconds() - startTime) / 1000.0f) );
}

// A console command on the command line?
Expand Down Expand Up @@ -2146,7 +2146,7 @@ static int DD_StartupWorker(void* /*parm*/)
Con_Message(" Processing \"%s\"...", F_PrettyPath(arg));
Con_ParseCommands(arg);
}
VERBOSE( Con_Message(" Done in %.2f seconds.", (Timer_RealMilliseconds() - startTime) / 1000.0f) );
VERBOSE( Con_Message(" Completed in %.2f seconds.", (Timer_RealMilliseconds() - startTime) / 1000.0f) );
}

/*
Expand Down
2 changes: 1 addition & 1 deletion doomsday/client/src/filesys/fs_scheme.cpp
Expand Up @@ -365,7 +365,7 @@ void FS1::Scheme::rebuild()

d->nameHashIsDirty = false;

// LOG_INFO("Done in %.2f seconds.") << (Timer_RealMilliseconds() - startTime) / 1000.0f;
// LOG_INFO("Completed in %.2f seconds.") << (Timer_RealMilliseconds() - startTime) / 1000.0f;

/*#if _DEBUG
PathTree::debugPrint(d->directory);
Expand Down
2 changes: 1 addition & 1 deletion doomsday/client/src/render/lightgrid.cpp
Expand Up @@ -799,7 +799,7 @@ DENG2_OBSERVES(Sector, LightLevelChange)
self.markAllForUpdate();

// How much time did we spend?
LOG_INFO(String("Done in %1 seconds.").arg(begunAt.since(), 0, 'g', 2));
LOG_INFO(String("Completed in %1 seconds.").arg(begunAt.since(), 0, 'g', 2));
}

/**
Expand Down
4 changes: 2 additions & 2 deletions doomsday/client/src/render/r_things.cpp
Expand Up @@ -254,7 +254,7 @@ static void buildSprites()
buildSprite(iter.next());
}

LOG_INFO(String("buildSprites: Done in %1 seconds.").arg(begunAt.since(), 0, 'g', 2));
LOG_INFO(String("buildSprites: Completed in %1 seconds.").arg(begunAt.since(), 0, 'g', 2));
}

/**
Expand Down Expand Up @@ -406,7 +406,7 @@ void R_InitSprites()
BlockSet_Delete(spriteRecordFrameBlockSet); spriteRecordFrameBlockSet = 0;
numSpriteRecords = 0;

LOG_INFO(String("R_InitSprites: Done in %1 seconds.").arg(begunAt.since(), 0, 'g', 2));
LOG_INFO(String("R_InitSprites: Completed in %1 seconds.").arg(begunAt.since(), 0, 'g', 2));
}

void R_ShutdownSprites()
Expand Down
2 changes: 1 addition & 1 deletion doomsday/client/src/resource/models.cpp
Expand Up @@ -1402,7 +1402,7 @@ void Models_Init(void)
me->selectNext = closest;
}

LOG_INFO("Models_Init: Done in %.2f seconds.") << (Timer_RealMilliseconds() - usedTime) / 1000.0f;
LOG_INFO("Models_Init: Completed in %.2f seconds.") << (Timer_RealMilliseconds() - usedTime) / 1000.0f;
}

void Models_Shutdown(void)
Expand Down
4 changes: 2 additions & 2 deletions doomsday/client/src/resource/r_data.cpp
Expand Up @@ -712,7 +712,7 @@ void R_InitCompositeTextures()

DENG_ASSERT(texs.isEmpty());

LOG_INFO(String("R_InitCompositeTextures: Done in %1 seconds.").arg(begunAt.since(), 0, 'g', 2));
LOG_INFO(String("R_InitCompositeTextures: Completed in %1 seconds.").arg(begunAt.since(), 0, 'g', 2));
}

void R_InitFlatTextures()
Expand Down Expand Up @@ -786,7 +786,7 @@ void R_InitFlatTextures()
/// @todo Defer until necessary (manifest texture is first referenced).
deriveAllTexturesInScheme("Flats");

LOG_INFO(String("R_InitFlatTetxures: Done in %1 seconds.").arg(begunAt.since(), 0, 'g', 2));
LOG_INFO(String("R_InitFlatTetxures: Completed in %1 seconds.").arg(begunAt.since(), 0, 'g', 2));
}

/// Returns @c true iff @a name is a well-formed sprite name.
Expand Down
2 changes: 1 addition & 1 deletion doomsday/client/src/sys_system.cpp
Expand Up @@ -107,7 +107,7 @@ void Sys_Init(void)
VERBOSE( Con_Message("Initializing Network subsystem...") )
N_Init();

VERBOSE2( Con_Message("Sys_Init: Done in %.2f seconds.", (Timer_RealMilliseconds() - startTime) / 1000.0f) );
VERBOSE2( Con_Message("Sys_Init: Completed in %.2f seconds.", (Timer_RealMilliseconds() - startTime) / 1000.0f) );
}

boolean Sys_IsShuttingDown(void)
Expand Down
2 changes: 1 addition & 1 deletion doomsday/libdeng2/src/filesys/filesystem.cpp
Expand Up @@ -57,7 +57,7 @@ void FileSystem::refresh()
Time startedAt;
d->root.populate();

LOG_DEBUG("Done in %.2f seconds.") << startedAt.since();
LOG_DEBUG("Completed in %.2f seconds.") << startedAt.since();

printIndex();
}
Expand Down
Expand Up @@ -176,7 +176,7 @@ bool LoadBlockmap(MapLumpInfo* lumpInfo)
map->blockMap = blockmap;

// How much time did we spend?
LOG_INFO(" Done in %.2f seconds.") << ((Timer_RealMilliseconds() - startTime) / 1000.0f);
LOG_INFO(" Completed in %.2f seconds.") << ((Timer_RealMilliseconds() - startTime) / 1000.0f);

return true;

Expand Down

0 comments on commit f5e657a

Please sign in to comment.