summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackLog.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-03-08 21:33:39 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-03-08 21:33:39 (GMT)
commite8affe5cc23ca560f4241362ec0f5d0ad5a6a455 (patch)
tree21554a1b2fc966e0600b3d2d2b3260113b3658d0 /Source/CPack/cmCPackLog.h
parent3d44b9a354edacff4b87ccf2a950ec698798591d (diff)
downloadCMake-e8affe5cc23ca560f4241362ec0f5d0ad5a6a455.zip
CMake-e8affe5cc23ca560f4241362ec0f5d0ad5a6a455.tar.gz
CMake-e8affe5cc23ca560f4241362ec0f5d0ad5a6a455.tar.bz2
STYLE: Lots of formating to remove style problems
Diffstat (limited to 'Source/CPack/cmCPackLog.h')
-rw-r--r--Source/CPack/cmCPackLog.h21
1 files changed, 16 insertions, 5 deletions
diff --git a/Source/CPack/cmCPackLog.h b/Source/CPack/cmCPackLog.h
index f43f513..3970876 100644
--- a/Source/CPack/cmCPackLog.h
+++ b/Source/CPack/cmCPackLog.h
@@ -60,10 +60,20 @@ public:
};
//! Various signatures for logging.
- void Log(const char* file, int line, const char* msg) { this->Log(LOG_OUTPUT, file, line, msg); }
- void Log(const char* file, int line, const char* msg, size_t length) { this->Log(LOG_OUTPUT, file, line, msg, length); }
- void Log(int tag, const char* file, int line, const char* msg) { this->Log(tag, file, line, msg, strlen(msg)); }
- void Log(int tag, const char* file, int line, const char* msg, size_t length);
+ void Log(const char* file, int line, const char* msg)
+ {
+ this->Log(LOG_OUTPUT, file, line, msg);
+ }
+ void Log(const char* file, int line, const char* msg, size_t length)
+ {
+ this->Log(LOG_OUTPUT, file, line, msg, length);
+ }
+ void Log(int tag, const char* file, int line, const char* msg)
+ {
+ this->Log(tag, file, line, msg, strlen(msg));
+ }
+ void Log(int tag, const char* file, int line, const char* msg,
+ size_t length);
//! Set Verbose
void VerboseOn() { this->SetVerbose(true); }
@@ -133,7 +143,8 @@ private:
class cmCPackLogWrite
{
public:
- cmCPackLogWrite(const char* data, size_t length) : Data(data), Length(length) {}
+ cmCPackLogWrite(const char* data, size_t length)
+ : Data(data), Length(length) {}
const char* Data;
size_t Length;