Watson Developer Cloud Unity SDK
1.0.0
The Unity SDK uses the Watson Developer Cloud services, a collection of REST APIs and SDKs that use cognitive computing to solve complex problems.
|
Classes | |
class | FileReactor |
FileReactor log reactor class. More... | |
interface | ILogReactor |
Any class that implement this interface can be added to the Logger class as a reactor and hook all log messages. More... | |
class | Log |
Helper static class for logging into the Logger. More... | |
class | LogRecord |
This data class is passed to all Reactors when a log message is passed into the Logger singleton. More... | |
class | LogSystem |
This singleton class maintains the of list of installed reactors and handles all LogRecord objects. See the static class Log for functions the end user of this system should actually be calling. This class is thread safe. More... | |
Enumerations | |
enum | LogLevel { LogLevel.NONE, LogLevel.DEBUG, LogLevel.STATUS, LogLevel.WARNING, LogLevel.ERROR, LogLevel.CRITICAL } |
All log messages are assigned to a log level, typically reactors have filters and will filter log messages that have lower levels. NONE is considered the lowest level, ALL is considered the highest level. More... | |
Copyright 2015 IBM Corp. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
strong |
All log messages are assigned to a log level, typically reactors have filters and will filter log messages that have lower levels. NONE is considered the lowest level, ALL is considered the highest level.
Enumerator | |
---|---|
NONE |
Not used. |
DEBUG |
Debug level log message, this should be used for messages for the developer. |
STATUS |
Status level log message, this should inform the user what is happening in the application. |
WARNING |
Warning log level should be used for messages when something may be wrong. |
ERROR |
Error log level should be used for messages when something has going wrong. |
CRITICAL |
Critical level log messages should be used for catastrophic failures. |