bpf::log::FileLogger class final

A simple file log adapter

Base classes

class ILogAdapter

Constructors, destructors, conversion operators

FileLogger(const io::File& file) explicit

Public functions

void LogMessage(ELogLevel level, const String& category, const String& msg) final

Function documentation

bpf::log::FileLogger::FileLogger(const io::File& file) explicit

Parameters
file the file to write logs to

Constructs a FileLogger

void bpf::log::FileLogger::LogMessage(ELogLevel level, const String& category, const String& msg) final

Parameters
level the level of severity
category the category name
msg the message text

Logs the given message