diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-11-20 08:21:36 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-11-20 08:21:36 +0000 |
| commit | 580098eb4929a3bdbf424af18da361259ef2efe5 (patch) | |
| tree | c6ff77fa55fcbdcdd0ca21ec2105db14a8c050d3 /src/Command.cc | |
| parent | 3940da75624b194cdd5036f9fe330fcecc725964 (diff) | |
2010-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Rewritten Logger interface. Logger now writes source file name and
line number in log file.
Diffstat (limited to 'src/Command.cc')
| -rw-r--r-- | src/Command.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/Command.cc b/src/Command.cc index 8758f334..82db3178 100644 --- a/src/Command.cc +++ b/src/Command.cc @@ -34,17 +34,17 @@ /* copyright --> */ #include "Command.h" #include "LogFactory.h" -#include "Logger.h" namespace aria2 { -Command::Command(cuid_t cuid):status_(STATUS_INACTIVE), - cuid_(cuid), - logger_(LogFactory::getInstance()), - readEvent_(false), - writeEvent_(false), - errorEvent_(false), - hupEvent_(false) {} +Command::Command(cuid_t cuid) + : status_(STATUS_INACTIVE), + cuid_(cuid), + readEvent_(false), + writeEvent_(false), + errorEvent_(false), + hupEvent_(false) +{} void Command::transitStatus() { |
