mirror of
https://github.com/polybar/polybar.git
synced 2024-10-27 05:23:39 -04:00
13 lines
264 B
C++
13 lines
264 B
C++
#include "components/logger.hpp"
|
|
|
|
int main() {
|
|
using namespace polybar;
|
|
|
|
"output"_test = [] {
|
|
auto l = logger::configure<logger>(loglevel::TRACE).create<logger>();
|
|
l.err("error");
|
|
l.warn("warning");
|
|
l.info("info");
|
|
l.trace("trace");
|
|
};
|
|
}
|