Added some comments
This commit is contained in:
@@ -5,9 +5,17 @@
|
||||
|
||||
namespace ugly {
|
||||
|
||||
/**
|
||||
* \brief Interface for a generic log-like object.
|
||||
*/
|
||||
class ILogFacility {
|
||||
public:
|
||||
~ILogFacility() = default;
|
||||
/**
|
||||
* \brief Put a message into the log, \c std::vformat -style.
|
||||
* \param fmt Format string.
|
||||
* \param args Format arguments.
|
||||
*/
|
||||
virtual void vlog(std::string_view fmt, std::format_args args) = 0;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user