diff options
author | John Wiegley <johnw@newartisans.com> | 2007-04-19 00:00:49 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:17 -0400 |
commit | 086ea40d9993f2ac86941a0462dabbd7f18d58f3 (patch) | |
tree | 9b905b976c620382f9cc048655254dc23588e365 /trace.cc | |
parent | ba2a54f3d22dacd69d8202fc9a7d32a2b40b1d1e (diff) | |
download | fork-ledger-086ea40d9993f2ac86941a0462dabbd7f18d58f3.tar.gz fork-ledger-086ea40d9993f2ac86941a0462dabbd7f18d58f3.tar.bz2 fork-ledger-086ea40d9993f2ac86941a0462dabbd7f18d58f3.zip |
We now compile with boost_date_time (although parts of the code have
been stubbed out as a result).
Diffstat (limited to 'trace.cc')
-rw-r--r-- | trace.cc | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,5 @@ #include "trace.h" +#include "times.h" #include "acconf.h" namespace ledger { @@ -8,8 +9,8 @@ bool trace_mode; void trace(const std::string& cat, const std::string& str) { char buf[32]; - std::cerr << now.to_short_string() << " " << cat << ": " << str - << std::endl; + std::cerr << boost::posix_time::to_simple_string(now) << " " + << cat << ": " << str << std::endl; } void trace_push(const std::string& cat, const std::string& str, |