clang 23.0.0git
AtomicLineLogger.h File Reference

Defines a logger where each line is written atomically to the file. More...

#include "clang/Basic/LLVM.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/Support/raw_ostream.h"
#include <atomic>
#include <optional>
#include <string>

Go to the source code of this file.

Classes

class  clang::LogLine
class  clang::AtomicLineLogger

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.

Detailed Description

Defines a logger where each line is written atomically to the file.

It is safe to share a logger instance across threads.

Definition in file AtomicLineLogger.h.