The source code and dockerfile for the GSW2024 AI Lab.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

18 lines
265 B

2 months ago
  1. /**
  2. * @file sink.h
  3. *
  4. * Implementation for Sinks
  5. */
  6. #pragma once
  7. namespace l3pp {
  8. inline void Sink::log(EntryContext const& context, std::string const& message) const {
  9. if (context.level >= this->level) {
  10. logEntry((*formatter)(context, message));
  11. }
  12. }
  13. }