folly/folly/logging/AsyncLogWriter.cpp

/*
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#include <folly/logging/AsyncLogWriter.h>

#include <folly/Exception.h>
#include <folly/FileUtil.h>
#include <folly/Portability.h>
#include <folly/logging/LoggerDB.h>
#include <folly/system/AtFork.h>
#include <folly/system/ThreadName.h>

namespace folly {

AsyncLogWriter::AsyncLogWriter() {}

AsyncLogWriter::~AsyncLogWriter() {}

FOLLY_CONSTINIT std::atomic<AsyncLogWriter::DiscardCallback>
    AsyncLogWriter::discardCallback_{};

void AsyncLogWriter::setDiscardCallback(DiscardCallback callback) {}

void AsyncLogWriter::invokeDiscardCallback(size_t numDiscarded) {}

void AsyncLogWriter::cleanup() {}

void AsyncLogWriter::writeMessage(StringPiece buffer, uint32_t flags) {}

void AsyncLogWriter::writeMessage(std::string&& buffer, uint32_t flags) {}

void AsyncLogWriter::flush() {}

void AsyncLogWriter::setMaxBufferSize(size_t size) {}

size_t AsyncLogWriter::getMaxBufferSize() const {}

void AsyncLogWriter::ioThread() {}

bool AsyncLogWriter::preFork() {}

void AsyncLogWriter::postForkParent() {}

void AsyncLogWriter::postForkChild() {}

void AsyncLogWriter::stopIoThread(
    folly::Synchronized<Data, std::mutex>::LockedPtr& data,
    uint32_t extraFlags) {}

void AsyncLogWriter::restartThread() {}

} // namespace folly