mirror of
https://github.com/wez/wezterm.git
synced 2024-12-28 07:55:03 +03:00
Convert chit-chat into info
I assume it was being printed as error from a mass conversion to the logging framework.
This commit is contained in:
parent
0ba11a8bbd
commit
0558662813
@ -67,7 +67,7 @@ impl OpenGLRenderState {
|
||||
uses_point_size: false,
|
||||
geometry_shader: None,
|
||||
};
|
||||
log::error!("compiling a prog with version {}", version);
|
||||
log::info!("compiling a prog with version {}", version);
|
||||
match glium::Program::new(&context, source) {
|
||||
Ok(prog) => {
|
||||
program = Some(prog);
|
||||
|
@ -393,7 +393,7 @@ impl TermWindow {
|
||||
let height = render_metrics.cell_size.height as usize
|
||||
* (physical_rows + if config.enable_tab_bar { 1 } else { 0 });
|
||||
|
||||
log::error!(
|
||||
log::info!(
|
||||
"TermWindow::new_window called with mux_window_id {} {}x{} cells, {}x{}",
|
||||
mux_window_id,
|
||||
physical_cols,
|
||||
@ -494,7 +494,7 @@ impl TermWindow {
|
||||
termwindow.dimensions.pixel_height,
|
||||
) {
|
||||
Ok(gl) => {
|
||||
log::error!(
|
||||
log::info!(
|
||||
"OpenGL initialized! {} {}",
|
||||
gl.context.get_opengl_renderer_string(),
|
||||
gl.context.get_opengl_version_string()
|
||||
|
@ -493,7 +493,7 @@ fn run_mux_client(config: config::ConfigHandle, opts: &ConnectCommand) -> Fallib
|
||||
}
|
||||
|
||||
for dom in mux.iter_domains() {
|
||||
log::error!("domain {} state {:?}", dom.domain_id(), dom.state());
|
||||
log::info!("domain {} state {:?}", dom.domain_id(), dom.state());
|
||||
}
|
||||
|
||||
gui.run_forever()
|
||||
@ -584,7 +584,7 @@ fn run_terminal_gui(config: config::ConfigHandle, opts: &StartCommand) -> Fallib
|
||||
}
|
||||
|
||||
for dom in mux.iter_domains() {
|
||||
log::error!("domain {} state {:?}", dom.domain_id(), dom.state());
|
||||
log::info!("domain {} state {:?}", dom.domain_id(), dom.state());
|
||||
}
|
||||
|
||||
gui.run_forever()
|
||||
|
@ -36,7 +36,7 @@ impl ClientInner {
|
||||
) {
|
||||
let mut map = self.remote_to_local_window.lock().unwrap();
|
||||
map.insert(remote_window_id, local_window_id);
|
||||
log::error!(
|
||||
log::info!(
|
||||
"record_remote_to_local_window_mapping: {} -> {}",
|
||||
remote_window_id,
|
||||
local_window_id
|
||||
@ -117,7 +117,7 @@ impl ClientDomain {
|
||||
}
|
||||
|
||||
pub fn perform_detach(&self) {
|
||||
log::error!("detached domain {}", self.local_domain_id);
|
||||
log::info!("detached domain {}", self.local_domain_id);
|
||||
self.inner.borrow_mut().take();
|
||||
let mux = Mux::get().unwrap();
|
||||
mux.domain_was_detached(self.local_domain_id);
|
||||
@ -202,10 +202,10 @@ impl Domain for ClientDomain {
|
||||
*self.inner.borrow_mut() = Some(Arc::clone(&inner));
|
||||
|
||||
let tabs = inner.client.list_tabs().wait()?;
|
||||
log::error!("ListTabs result {:#?}", tabs);
|
||||
log::debug!("ListTabs result {:#?}", tabs);
|
||||
|
||||
for entry in tabs.tabs.iter() {
|
||||
log::error!(
|
||||
log::info!(
|
||||
"attaching to remote tab {} in remote window {} {}",
|
||||
entry.tab_id,
|
||||
entry.window_id,
|
||||
@ -218,10 +218,10 @@ impl Domain for ClientDomain {
|
||||
let mut window = mux
|
||||
.get_window_mut(local_window_id)
|
||||
.expect("no such window!?");
|
||||
log::error!("already have a local window for this one");
|
||||
log::info!("already have a local window for this one");
|
||||
window.push(&tab);
|
||||
} else {
|
||||
log::error!("spawn new local window");
|
||||
log::info!("spawn new local window");
|
||||
let fonts = Rc::new(FontConfiguration::new(FontSystemSelection::get_default()));
|
||||
let local_window_id = mux.new_empty_window();
|
||||
inner.record_remote_to_local_window_mapping(entry.window_id, local_window_id);
|
||||
|
@ -7,7 +7,7 @@ use crate::server::codec::*;
|
||||
use crate::server::domain::ClientInner;
|
||||
use failure::{bail, Fallible};
|
||||
use filedescriptor::Pipe;
|
||||
use log::error;
|
||||
use log::{error, info};
|
||||
use portable_pty::PtySize;
|
||||
use promise::{BrokenPromise, Future};
|
||||
use std::borrow::Cow;
|
||||
@ -253,7 +253,7 @@ impl Tab for ClientTab {
|
||||
}
|
||||
|
||||
fn reader(&self) -> Fallible<Box<dyn std::io::Read + Send>> {
|
||||
error!("made reader for ClientTab");
|
||||
info!("made reader for ClientTab");
|
||||
Ok(Box::new(self.reader.read.try_clone()?))
|
||||
}
|
||||
|
||||
|
@ -217,7 +217,7 @@ impl GlState {
|
||||
match EglWrapper::load_egl(lib) {
|
||||
Ok(egl) => match func(egl) {
|
||||
Ok(result) => {
|
||||
log::error!("initialized {}", path);
|
||||
log::info!("initialized {}", path);
|
||||
return Ok(result);
|
||||
}
|
||||
Err(e) => {
|
||||
@ -242,7 +242,7 @@ impl GlState {
|
||||
let egl_display = egl.get_display(display)?;
|
||||
|
||||
let (major, minor) = egl.initialize_and_get_version(egl_display)?;
|
||||
log::error!("initialized EGL version {}.{}", major, minor);
|
||||
log::info!("initialized EGL version {}.{}", major, minor);
|
||||
|
||||
let configs = egl.choose_config(
|
||||
egl_display,
|
||||
|
@ -81,7 +81,7 @@ impl WaylandConnection {
|
||||
seat.implement_closure(
|
||||
move |event, _seat| {
|
||||
if let SeatEvent::Name { name } = event {
|
||||
log::error!("seat name is {}", name);
|
||||
log::info!("seat name is {}", name);
|
||||
}
|
||||
},
|
||||
(),
|
||||
|
Loading…
Reference in New Issue
Block a user