osquery-1/osquery/config/parsers/logger.h
Filipe Manco a67525fae1 Fix LICENSE information on file headers (#5375)
Summary:
Pull Request resolved: https://github.com/facebook/osquery/pull/5375

LICENSE is now defined in a single file on the root of the project, update the
header to contain that information.

**Project LICENSE did not change.**

Reviewed By: akindyakov

Differential Revision: D13750575

fbshipit-source-id: 1e608a81b260b8395f9d008fc67f463160c1fc2b
2019-01-21 11:51:54 -08:00

29 lines
626 B
C++

/**
* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed as defined on the LICENSE file found in the
* root directory of this source tree.
*/
#include <osquery/config/config.h>
namespace osquery {
/**
* @brief Parser plugin for logger configurations.
*/
class LoggerConfigParserPlugin : public ConfigParserPlugin {
public:
std::vector<std::string> keys() const override {
return {kLoggerKey};
}
Status update(const std::string& source, const ParserConfig& config) override;
private:
static const std::string kLoggerKey;
};
} // namespace osquery