diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-09-21 16:00:03 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-09-21 16:54:53 +0200 |
commit | 4036185cb4bacbf6acaaa1a906924dfa2cdd9413 (patch) | |
tree | b7169ae0d7a120e433dcecbd20333f0dbd1e8f8a /src/libutil/logging.cc | |
parent | 3f8e620b1907968c47bdbe955095301159dc78ad (diff) |
Some notational convenience for formatting strings
We can now write
throw Error("file '%s' not found", path);
instead of
throw Error(format("file '%s' not found") % path);
and similarly
printError("file '%s' not found", path);
instead of
printMsg(lvlError, format("file '%s' not found") % path);
Diffstat (limited to 'src/libutil/logging.cc')
0 files changed, 0 insertions, 0 deletions