Module: Contrast::Components::Logger::InstanceMethods
- Included in:
- Agent::Assess::Policy::DynamicSourceFactory, Agent::Assess::Policy::Patcher, Agent::Assess::Policy::PolicyNode, Agent::Assess::Policy::PropagationMethod, Agent::Assess::Policy::PropagationNode, Agent::Assess::Policy::Propagator::Split, Agent::Assess::Policy::Propagator::Substitution, Agent::Assess::Policy::Propagator::Substitution, Agent::Assess::Policy::SourceMethod, Agent::Assess::Policy::TriggerMethod, Agent::Assess::Policy::TriggerNode, Agent::Assess::PreShift, Agent::Assess::PreShift, Agent::Assess::Rule::Provider::HardcodedValueRule, Agent::Assess::Tag, Agent::AtExitHook, Agent::DisableReaction, Agent::ExclusionMatcher, Agent::Inventory::DatabaseConfig, Agent::Inventory::DependencyUsageAnalysis, Agent::Inventory::Policy::DataStores, Agent::Middleware, Agent::Patching::Policy::AfterLoadPatcher, Agent::Patching::Policy::Patch, Agent::Patching::Policy::Patcher, Agent::Patching::Policy::Policy, Agent::Protect::ExploitableCollection, Agent::Protect::InputAnalyzer, Agent::Protect::Policy::RuleApplicator, Agent::Protect::Rule::Base, Agent::Protect::Rule::BotBlocker, Agent::Protect::Rule::CmdInjection, Agent::Protect::Rule::CmdiBaseRule, Agent::Protect::Rule::CmdiInputClassification, Agent::Protect::Rule::Deserialization, Agent::Protect::Rule::InputClassification::Base, Agent::Protect::Rule::InputClassification::Base, Agent::Protect::Rule::InputClassification::Base64Statistic, Agent::Protect::Rule::InputClassification::Encoding, Agent::Protect::Rule::InputClassification::LRUCache, Agent::Protect::Rule::InputClassification::Statistics, Agent::Protect::Rule::SqliBaseRule, Agent::Protect::Rule::SqliInputClassification, Agent::Protect::Rule::Xxe, Agent::Protect::State, Agent::Reporter, Agent::Reporting::ApplicationActivity, Agent::Reporting::ApplicationDefendActivity, Agent::Reporting::Audit, Agent::Reporting::Endpoints, Agent::Reporting::Masker, Agent::Reporting::ReportableHash, Agent::Reporting::ReporterClient, Agent::Reporting::ReporterClientUtils, Agent::Reporting::ReportingStorage, Agent::Reporting::ResponseHandler, Agent::Request, Agent::RequestContext, Agent::RequestContextExtend, Agent::RequestHandler, Agent::Response, Agent::RuleSet, Agent::StaticAnalysis, Agent::Telemetry::Base, Agent::Telemetry::Base, Agent::Telemetry::Base64Hash, Agent::Telemetry::CacheHash, Agent::Telemetry::Client, Agent::Telemetry::ExceptionHash, Agent::Telemetry::InputAnalysisEvent, Agent::ThreadWatcher, Agent::TracePointHook, Agent::WorkerThread, AgentLib::InputTracing, AgentLib::Interface, Interface, Settings::Interface, Contrast::Config::Diagnostics::Monitor, Extension::Assess::EvalTrigger, Extension::Assess::FiberPropagator, Extension::Assess::HashPropagator, Extension::Assess::InstrumentHelper, Extension::Assess::KernelPropagator, Extension::Assess::MarshalPropagator, Extension::Assess::RegexpPropagator, Extension::Assess::StringPropagator, Framework::Grape::Support, Framework::Manager, Framework::Rack::Patch::SessionCookie, Framework::Rails::Patch::AssessConfiguration, Framework::Rails::Railtie, Framework::Rails::Support, Framework::Rails::Support, Framework::Sinatra::Patch::EncryptedSessionCookie, Utils::Assess::EventLimitUtils, Utils::Assess::TrackingUtil, Utils::Findings, Utils::HeapDumpUtil, Utils::HeapDumpUtil, Utils::IOUtil, Utils::InvalidConfigurationUtil, Utils::Json, Utils::MetricsHash, Utils::NetHttpBase, Funchook
- Defined in:
- lib/contrast/components/logger.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#cef_logger ⇒ Logger
When calling this method from any instance The CEF logger will be initialized and it’s path and level will be set.
- #logger ⇒ Object
Instance Method Details
#cef_logger ⇒ Logger
When calling this method from any instance The CEF logger will be initialized and it’s path and level will be set. Since we don’t call this method unless protect is started, on Agent Startup no file is created before is needed.
24 25 26 |
# File 'lib/contrast/components/logger.rb', line 24 def cef_logger @_cef_logger ||= Contrast::Logger::CEFLog.instance.tap(&:build_logger) end |