|
wlmaker
|
#include "wlr_log.h"#include <libbase/libbase.h>#include <limits.h>#include <regex.h>#include <stdarg.h>#include <stdint.h>#include <stdio.h>#include <wlr/util/log.h>
Functions | |
| static void | _wlm_util_wlr_log_to_bs (enum wlr_log_importance importance, const char *fmt, va_list args) |
| bool | wlm_util_wlr_log_init (enum wlr_log_importance verbosity) |
Variables | |
| static regex_t | _wlm_util_wlr_log_regex |
| static const char * | _wlm_util_wlr_log_regex_string |
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
static |
Wraps the wlr_log calls on bs_log.
| importance | |
| fmt | |
| args |
| bool wlm_util_wlr_log_init | ( | enum wlr_log_importance | verbosity | ) |
Initializes wlroots logging to redirect into bs_log().
| verbosity |
|
static |
Compiled regular expression for extracting file & line no. from wlr_log.
|
static |
Regular expression string for extracting file & line no. from wlr_log.