diff options
Diffstat (limited to 'alacritty/src/logging.rs')
-rw-r--r-- | alacritty/src/logging.rs | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/alacritty/src/logging.rs b/alacritty/src/logging.rs index 0bc8db9c..1e56f3cb 100644 --- a/alacritty/src/logging.rs +++ b/alacritty/src/logging.rs @@ -1,22 +1,9 @@ -// Copyright 2016 Joe Wilm, The Alacritty Project Contributors -// -// 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 -// -// http://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. -// //! Logging for Alacritty. //! //! The main executable is supposed to call `initialize()` exactly once during //! startup. All logging messages are written to stdout, given that their //! log-level is sufficient for the level configured in `cli::Options`. + use std::env; use std::fs::{File, OpenOptions}; use std::io::{self, LineWriter, Stdout, Write}; |