source/EventLogger.h (13 lines of code) (raw):
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <string>
#include <mariana-trench/Options.h>
namespace marianatrench {
class EventLogger {
public:
static void init_event_logger(const Options* options);
static void log_event(
const std::string& event,
const std::string& message = "",
const int value = -1);
};
} // namespace marianatrench