The Sleuth Kit Framework
4.1
|
Interface and default logging infrastructure that enables applications and framework to log to a single place. More...
#include "tsk/framework/framework_i.h"
#include <time.h>
#include <string>
#include <iostream>
#include <fstream>
Classes | |
class | Log |
Logging class to enable the framework, apps that use it, and modules to log error and warning messages. More... | |
Macros | |
#define | LOGERROR(msg) TskServices::Instance().getLog().log(Log::Error, msg) |
Macro that gets the log service and writes an error message in a single statement. More... | |
#define | LOGINFO(msg) TskServices::Instance().getLog().log(Log::Info, msg) |
Macro that gets the log service and writes an info message in a single statement. More... | |
#define | LOGWARN(msg) TskServices::Instance().getLog().log(Log::Warn, msg) |
Macro that gets the log service and writes a warning message in a single statement. More... | |
Interface and default logging infrastructure that enables applications and framework to log to a single place.
#define LOGERROR | ( | msg) | TskServices::Instance().getLog().log(Log::Error, msg) |
Macro that gets the log service and writes an error message in a single statement.
msg | Message to log |
Referenced by TskImgDBSqlite::addAllocUnallocMapInfo(), TskImgDBPostgreSQL::addAllocUnallocMapInfo(), TskImgDBPostgreSQL::addArtifactType(), TskImgDBSqlite::addArtifactType(), TskImgDBPostgreSQL::addAttributeType(), TskImgDBSqlite::addAttributeType(), TskImgDBPostgreSQL::addBlackboardAttribute(), TskImgDBSqlite::addBlackboardAttribute(), TskImgDBSqlite::addCarvedFileInfo(), TskImgDBPostgreSQL::addCarvedFileInfo(), TskImgDBSqlite::addDerivedFileInfo(), TskImgDBPostgreSQL::addDerivedFileInfo(), TskFileManagerImpl::addFile(), TskImgDBSqlite::addFsBlockInfo(), TskImgDBPostgreSQL::addFsBlockInfo(), TskImgDBSqlite::addFsFileInfo(), TskImgDBPostgreSQL::addFsFileInfo(), TskImgDBSqlite::addImageName(), TskImgDBPostgreSQL::addImageName(), TskImgDBSqlite::addModule(), TskImgDBPostgreSQL::addModule(), TskImgDBSqlite::addUnallocImg(), TskImgDBPostgreSQL::addUnallocImg(), TskImgDBSqlite::addUnusedSectors(), TskImgDBPostgreSQL::addUnusedSectors(), TskFileAnalysisPluginModule::checkInterface(), TskReportPluginModule::checkInterface(), TskImageFileTsk::closeFile(), TskImgDBPostgreSQL::createBlackboardArtifact(), TskImgDBSqlite::createBlackboardArtifact(), TskFileManagerImpl::deleteFile(), TskPipeline::excludeFile(), TskL01Extract::extractFiles(), TskImageFileTsk::extractFiles(), TskImgDBSqlite::getAllUnallocImgStatus(), TskImgDBPostgreSQL::getAllUnallocImgStatus(), TskImgDBPostgreSQL::getArtifactTypeDisplayName(), TskImgDBSqlite::getArtifactTypeDisplayName(), TskImgDBPostgreSQL::getArtifactTypeID(), TskImgDBSqlite::getArtifactTypeID(), TskImgDBPostgreSQL::getArtifactTypeName(), TskImgDBSqlite::getArtifactTypeName(), TskImgDBPostgreSQL::getAttributeTypeDisplayName(), TskImgDBSqlite::getAttributeTypeDisplayName(), TskImgDBPostgreSQL::getAttributeTypeID(), TskImgDBSqlite::getAttributeTypeID(), TskImgDBPostgreSQL::getAttributeTypeName(), TskImgDBSqlite::getAttributeTypeName(), TskServices::getBlackboard(), TskImageFileTsk::getByteData(), TskImgDBSqlite::getFileCount(), TskImgDBPostgreSQL::getFileCount(), TskImgDBSqlite::getFileId(), TskImgDBPostgreSQL::getFileId(), TskImgDBSqlite::getFileIds(), TskImgDBPostgreSQL::getFileIds(), TskServices::getFileManager(), TskImgDBSqlite::getFileRecord(), TskImgDBPostgreSQL::getFileRecord(), TskImgDBPostgreSQL::getFileRecords(), TskImgDBSqlite::getFileUniqueIdentifiers(), TskImgDBPostgreSQL::getFileUniqueIdentifiers(), TskImgDBSqlite::getFreeSectors(), TskImgDBPostgreSQL::getFreeSectors(), TskImgDBSqlite::getFsInfo(), TskImgDBPostgreSQL::getFsInfo(), TskUtilities::getHostIP(), TskServices::getImageFile(), TskImgDBSqlite::getImageInfo(), TskImgDBPostgreSQL::getImageInfo(), TskImgDBPostgreSQL::getImageNamesW(), TskServices::getImgDB(), TskImgDBSqlite::getKnownStatus(), TskImgDBPostgreSQL::getKnownStatus(), TskImgDBSqlite::getMatchingArtifacts(), TskImgDBPostgreSQL::getMatchingArtifacts(), TskImgDBPostgreSQL::getMatchingAttributes(), TskImgDBSqlite::getMatchingAttributes(), TskImgDBSqlite::getMaxFileIdReadyForAnalysis(), TskImgDBPostgreSQL::getMaxFileIdReadyForAnalysis(), TskImgDBSqlite::getModuleErrors(), TskImgDBPostgreSQL::getModuleErrors(), TskImgDBSqlite::getModuleInfo(), TskImgDBPostgreSQL::getModuleInfo(), TskImgDBSqlite::getNumVolumes(), TskImgDBPostgreSQL::getNumVolumes(), TskServices::getScheduler(), TskImgDBSqlite::getSessionID(), TskImgDBPostgreSQL::getSessionID(), TskImgDBSqlite::getUnallocImgStatus(), TskImgDBPostgreSQL::getUnallocImgStatus(), TskImgDBSqlite::getUnallocRun(), TskImgDBPostgreSQL::getUnallocRun(), TskImgDBSqlite::getUniqueCarvedFiles(), TskImgDBPostgreSQL::getUniqueCarvedFiles(), TskImgDBSqlite::getUnusedSector(), TskImgDBPostgreSQL::getUnusedSector(), TskImgDBSqlite::getVolumeInfo(), TskImgDBPostgreSQL::getVolumeInfo(), TskImgDBSqlite::initialize(), TskPluginModule::initialize(), TskImgDBPostgreSQL::initialize(), TskImgDBPostgreSQL::initializePreparedStatements(), TskImageFileTsk::open(), TskImgDBSqlite::open(), TskImgDBPostgreSQL::open(), TskFileTsk::open(), TskImageFileTsk::openFile(), TskCarveExtractScalpel::processFile(), TskCarvePrepSectorConcat::processSectors(), TskFileTsk::read(), TskImageFileTsk::readFile(), TskReportPluginModule::report(), TskFileAnalysisPluginModule::run(), TskExecutableModule::run(), TskFileAnalysisPipeline::run(), TskFile::save(), TSKAutoImpl::scanImgForFs(), TskFileTsk::seek(), TskServices::setBlackboard(), TskServices::setFileManager(), TskServices::setImageFile(), TskServices::setImgDB(), TskServices::setLog(), TskImgDBSqlite::setModuleStatus(), TskImgDBPostgreSQL::setModuleStatus(), TskExecutableModule::setPath(), TskPluginModule::setPath(), TskServices::setScheduler(), TskServices::setSystemProperties(), TskImgDBSqlite::setUnallocImgStatus(), TskImgDBPostgreSQL::setUnallocImgStatus(), TskFileTsk::tell(), TskImgDBSqlite::updateFileStatus(), TskImgDBPostgreSQL::updateFileStatus(), TskImgDBSqlite::updateKnownStatus(), TskImgDBPostgreSQL::updateKnownStatus(), and TskPipeline::updateModuleExecutionTime().
#define LOGINFO | ( | msg) | TskServices::Instance().getLog().log(Log::Info, msg) |
Macro that gets the log service and writes an info message in a single statement.
msg | Message to log |
Referenced by TskPipelineManager::createPipeline(), TskImgDBSqlite::getFreeSectors(), TskImgDBPostgreSQL::getFreeSectors(), TskServices::getSystemProperties(), TskImgDBSqlite::initialize(), TskImgDBPostgreSQL::initialize(), TskPipeline::logModuleExecutionTimes(), TskImgDBSqlite::open(), TskImgDBPostgreSQL::open(), TskFileAnalysisPipeline::run(), TSKAutoImpl::scanImgForFs(), TskPluginModule::setPath(), and TskModule::setPath().
#define LOGWARN | ( | msg) | TskServices::Instance().getLog().log(Log::Warn, msg) |
Macro that gets the log service and writes a warning message in a single statement.
msg | Message to log |
Referenced by TskImgDBSqlite::addModule(), TskImgDBPostgreSQL::getUniqueCarvedFiles(), TskImgDBSqlite::getUniqueCarvedFilesInfo(), TskImgDBPostgreSQL::getUniqueCarvedFilesInfo(), TskPipeline::initialize(), and TskSystemProperties::set().
Copyright © 2011-2013 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.