• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2022 The ChromiumOS Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 //! Implementation of the Syslog trait as a wrapper around Window's events
6 
7 use crate::syslog::Error;
8 use crate::syslog::Facility;
9 use crate::syslog::Log;
10 use crate::syslog::Syslog;
11 use crate::RawDescriptor;
12 
13 pub struct PlatformSyslog {}
14 
15 impl Syslog for PlatformSyslog {
new( _proc_name: String, _facility: Facility, ) -> Result<(Option<Box<dyn Log + Send>>, Option<RawDescriptor>), Error>16     fn new(
17         _proc_name: String,
18         _facility: Facility,
19     ) -> Result<(Option<Box<dyn Log + Send>>, Option<RawDescriptor>), Error> {
20         Ok((None, None))
21     }
22 }
23