LiteFX::Logging::Logger::sinkTo¶
Allows a log to write messages to sink.
Synopsis¶
Declared in <litefx/logging.hpp>
[[dllexport, dllimport]] static void sinkTo(ISink const* sink);
Exceptions¶
| Name | Thrown on |
|---|---|
InvalidArgumentException | Thrown, if sink is not initialized. |
Parameters¶
| Name | Description |
|---|---|
| sink | The sink to write log messages to. |