[asterisk-scf-commits] asterisk-scf/integration/logger.git branch "master" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Mon Oct 4 17:14:29 CDT 2010
branch "master" has been updated
via 17015b83dd68f8986948aa66dcce69ed0bbdbf2f (commit)
from 46e951f8f7e94a76eb827ddba952dd2652dadbed (commit)
Summary of changes:
CMakeLists.txt | 1 -
ice/CMakeLists.txt | 9 ----
ice/LoggerIf.ice | 114 ----------------------------------------------------
slice | 2 +-
4 files changed, 1 insertions(+), 125 deletions(-)
delete mode 100644 ice/CMakeLists.txt
delete mode 100644 ice/LoggerIf.ice
- Log -----------------------------------------------------------------
commit 17015b83dd68f8986948aa66dcce69ed0bbdbf2f
Author: David M. Lee <dlee at digium.com>
Date: Mon Oct 4 17:14:26 2010 -0500
Moved slice definitions to slice repo.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8216eb5..f885d71 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -23,6 +23,5 @@ if(NOT integrated_build STREQUAL "true")
add_subdirectory(slice)
endif()
-add_subdirectory(ice)
add_subdirectory(server)
add_subdirectory(client)
diff --git a/ice/CMakeLists.txt b/ice/CMakeLists.txt
deleted file mode 100644
index b70a137..0000000
--- a/ice/CMakeLists.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-#
-# Asterisk Scalable Communications Framework
-#
-# Copyright (C) 2010 -- Digium, Inc.
-#
-# All rights reserved.
-#
-
-hydra_compile_slice(LoggerIf.ice lib "Logging API" System)
diff --git a/ice/LoggerIf.ice b/ice/LoggerIf.ice
deleted file mode 100644
index 2e38815..0000000
--- a/ice/LoggerIf.ice
+++ /dev/null
@@ -1,114 +0,0 @@
-/*
- * Asterisk Scalable Communications Framework
- *
- * Copyright (C) 2010 -- Digium, Inc.
- *
- * All rights reserved.
- */
-
-#pragma once
-
-module AsteriskSCF
-{
-module System
-{
-module Logging
-{
-
-/**
- * Category for locating the LoggingServer in the ServiceLocator.
- */
-const string LoggingServerCategory = "LoggingServer";
-/**
- * Guid for listenting to LoggingServer registration events from the
- * ServiceLocator.
- */
-const string LoggingServerGuid = "LoggingServer";
-/**
- * Topic name for configuration updates.
- */
-const string ServerConfigurationTopic = "AsteriskSCF.System.Logging.config";
-
-/**
- * Warning levels, inspired by syslog.
- */
-enum Level
-{
- /** debug-level messages */
- Debug,
- /** informational messages */
- Info,
- /** normal but significant condition */
- Notice,
- /** warning conditions */
- Warning,
- /** error conditions */
- Error,
- /** critical conditions */
- Critical,
- /** action must be taken immediately */
- Alert,
- /** system is unusable */
- Emergency,
- /** phony level; only to be used in setting log levels */
- Off
-};
-
-sequence<string> StringSeq;
-
-/**
- * The configuration for a particular name.
- */
-struct SourceConfiguration
-{
- /**
- * A name identifies the source component of a log message. It can
- * be represented as a dot-notation from the source path.
- * i.e. if the path name is ["AsteriskSCF", "Core", "Routing"], then the
- * dot-notation would be "AsteriskSCF.Core.Routing".
- */
- string name;
- Level logLevel;
-};
-sequence<SourceConfiguration> SourceConfigurationSeq;
-
-/**
- * Configuration for the LoggingServer.
- */
-struct Configuration
-{
- SourceConfigurationSeq sourceSettings;
-};
-
-/**
- * Server-side logging interface.
- */
-interface LoggingServer
-{
- /**
- * Log a message from a given source, at a given level. Note that
- * server configuration may filter this message at the destination.
- * log may be a #define, hence the name logm.
- */
- ["cpp:const"]
- idempotent void logs(string name, Level logLevel, string message);
-
- /**
- * Returns the current configuration for this server.
- */
- ["cpp:const"]
- idempotent Configuration getConfiguration();
-};
-
-
-/**
- * Topic interface for notification of Configuration changes.
- */
-interface ServerConfigurationListener
-{
- void configured(Configuration logConfiguration);
-};
-
-}; // Logging
-}; // System
-}; // AsteriskSCF
diff --git a/slice b/slice
index 36a57a4..0c62939 160000
--- a/slice
+++ b/slice
@@ -1 +1 @@
-Subproject commit 36a57a423c849ff5688d8c4f3569bf3639feed36
+Subproject commit 0c629393e2f05dc0ed43bcc6305880949df36289
-----------------------------------------------------------------------
--
asterisk-scf/integration/logger.git
More information about the asterisk-scf-commits
mailing list