選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

27 行
493 B

  1. #pragma once
  2. #include "consumer.h"
  3. namespace cpplogging
  4. {
  5. /* consumer */
  6. const std::string& consumer
  7. ::default_format()
  8. {
  9. static const std::string value(
  10. "[${runtime:-016.6f}] "
  11. "${level:5S} "
  12. "${sender_type}(${sender:016x})@${thread:016x} "
  13. "${filename:-25}:${line:5d}$n"
  14. "${message}");
  15. return value;
  16. }
  17. const std::string& consumer
  18. ::name() const
  19. { return _name; }
  20. }