mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-07-27 19:26:08 +02:00
Switched to a custom logging lib instead of that spdlog junk
This commit is contained in:
core
backends
src
config.cppcore.cppcredits.cpp
dsp
gui
module.cppmodule_com.cppmodule_com.hserver.cppsignal_path
spdlog
async.hasync_logger-inl.hasync_logger.h
cfg
common-inl.hcommon.hdetails
backtracer-inl.hbacktracer.hcircular_q.hconsole_globals.hfile_helper-inl.hfile_helper.hfmt_helper.hlog_msg-inl.hlog_msg.hlog_msg_buffer-inl.hlog_msg_buffer.hmpmc_blocking_q.hnull_mutex.hos-inl.hos.hperiodic_worker-inl.hperiodic_worker.hregistry-inl.hregistry.hsynchronous_factory.htcp_client-windows.htcp_client.hthread_pool-inl.hthread_pool.hwindows_include.h
fmt
bin_to_hex.h
formatter.hfwd.hlogger-inl.hlogger.hpattern_formatter-inl.hpattern_formatter.hbundled
LICENSE.rstchrono.hcolor.hcompile.hcore.hformat-inl.hformat.hlocale.hostream.hposix.hprintf.hranges.h
fmt.hostr.hsinks
android_sink.hansicolor_sink-inl.hansicolor_sink.hbase_sink-inl.hbase_sink.hbasic_file_sink-inl.hbasic_file_sink.hdaily_file_sink.hdist_sink.hdup_filter_sink.hmsvc_sink.hnull_sink.hostream_sink.hringbuffer_sink.hrotating_file_sink-inl.hrotating_file_sink.hsink-inl.hsink.hstdout_color_sinks-inl.hstdout_color_sinks.hstdout_sinks-inl.hstdout_sinks.hsyslog_sink.hsystemd_sink.htcp_sink.hwin_eventlog_sink.hwincolor_sink-inl.hwincolor_sink.h
spdlog-inl.hspdlog.htweakme.hversion.hutils
decoder_modules
kg_sstv_decoder
m17_decoder
meteor_demodulator
src
radio
misc_modules
discord_integration
src
frequency_manager
src
recorder
src
rigctl_client
src
rigctl_server
src
scanner
src
scheduler
sink_modules
android_audio_sink
src
audio_sink
src
network_sink
src
new_portaudio_sink
src
portaudio_sink
src
source_modules
airspy_source
src
airspyhf_source
src
audio_source
src
bladerf_source
src
file_source
src
hackrf_source
src
hermes_source
limesdr_source
src
plutosdr_source
src
rfspace_source
rtl_sdr_source
src
rtl_tcp_source
src
sdrplay_source
src
sdrpp_server_source
soapy_source
src
spectran_http_source
spectran_source
src
spyserver_source
src
usrp_source
src
@ -1,4 +1,4 @@
|
||||
#include <spdlog/spdlog.h>
|
||||
#include <utils/flog.h>
|
||||
#include <module.h>
|
||||
#include <gui/gui.h>
|
||||
#include <signal_path/signal_path.h>
|
||||
@ -171,7 +171,6 @@ public:
|
||||
std::string name = s;
|
||||
name[0] = std::toupper(name[0]);
|
||||
clockSources.define(s, name, s);
|
||||
spdlog::warn(s);
|
||||
}
|
||||
|
||||
// Load settings
|
||||
@ -261,12 +260,12 @@ private:
|
||||
}
|
||||
|
||||
core::setInputSampleRate(_this->sampleRate);
|
||||
spdlog::info("USRPSourceModule '{0}': Menu Select!", _this->name);
|
||||
flog::info("USRPSourceModule '{0}': Menu Select!", _this->name);
|
||||
}
|
||||
|
||||
static void menuDeselected(void* ctx) {
|
||||
USRPSourceModule* _this = (USRPSourceModule*)ctx;
|
||||
spdlog::info("USRPSourceModule '{0}': Menu Deselect!", _this->name);
|
||||
flog::info("USRPSourceModule '{0}': Menu Deselect!", _this->name);
|
||||
}
|
||||
|
||||
static void start(void* ctx) {
|
||||
@ -295,7 +294,7 @@ private:
|
||||
_this->workerThread = std::thread(&USRPSourceModule::worker, _this);
|
||||
|
||||
_this->running = true;
|
||||
spdlog::info("USRPSourceModule '{0}': Start!", _this->name);
|
||||
flog::info("USRPSourceModule '{0}': Start!", _this->name);
|
||||
}
|
||||
|
||||
static void stop(void* ctx) {
|
||||
@ -311,7 +310,7 @@ private:
|
||||
_this->streamer.reset();
|
||||
_this->dev.reset();
|
||||
|
||||
spdlog::info("USRPSourceModule '{0}': Stop!", _this->name);
|
||||
flog::info("USRPSourceModule '{0}': Stop!", _this->name);
|
||||
}
|
||||
|
||||
static void tune(double freq, void* ctx) {
|
||||
@ -320,7 +319,7 @@ private:
|
||||
_this->dev->set_rx_freq(freq, _this->chanId);
|
||||
}
|
||||
_this->freq = freq;
|
||||
spdlog::info("USRPSourceModule '{0}': Tune: {1}!", _this->name, freq);
|
||||
flog::info("USRPSourceModule '{0}': Tune: {1}!", _this->name, freq);
|
||||
}
|
||||
|
||||
static void menuHandler(void* ctx) {
|
||||
|
Reference in New Issue
Block a user