
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
A Ruby interface for the Apple system logger.
gem install apple-system-logger
require 'apple-system-logger'
# With defaults
log = Apple::System::Logger.new
log.warn("This is a warning")
# With all possible options, including multicast to $stderr
log = Apple::System::Logger.new(
facility: 'com.apple.console',
level: Apple::System::Logger::ASL_LEVEL_WARNING,
progname: 'myprog',
logdev: $stderr
)
log.warn("This is also a warning")
# Search for logs
log = Apple::System::Logger.new
results = log.search(:sender => 'bootlog', :level => 5)
# Always do this when finished, or use the block version of the constructor
log.close
Apache-2.0
It does not seem that you can multicast to any fileno except stdout and stderr. I am not sure if this is by design, or if I am missing something, because the API does not explicitly forbid other file descriptors, nor does it raise an error.
(C) 2020 Daniel J. Berger, All Rights Reserved
This package is provided "as is" and without any express or implied warranties, including, without limitation, the implied warranties of merchantability and fitness for a particular purpose.
Daniel J. Berger
FAQs
Unknown package
We found that apple-system-logger demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.