Namespaces | Functions

TsErrataUtil.cc File Reference

TS Configuration utilities for Errata and logging. More...

#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <errno.h>
#include <TsErrataUtil.h>
#include "ts/ink_string.h"
#include "ts/ink_defs.h"
Include dependency graph for TsErrataUtil.cc:

Go to the source code of this file.

Namespaces

namespace  ts
 

Apache Traffic Server commons.


namespace  ts::msg

Functions

Errata & ts::msg::vlogf (Errata &err, Errata::Id id, Errata::Code code, char const *format, va_list &rest)
Errata ts::msg::vlogf_errno (Errata &errata, Errata::Id id, Errata::Code code, char const *format, va_list &rest)

Errata & ts::msg::log (Errata &err, Errata::Id id, Errata::Code code, char const *text)
 Debugging information.
Errata & ts::msg::log (Errata &err, Errata::Code code,char const *text)
 Report literal string to an Errata.
Errata & ts::msg::log (RvBase &rv, Errata::Code code,char const *text)
 Report literal string to a return value.
Errata ts::msg::log (Errata::Code code,char const *text)
 Return an Errata populated with a literal string.
Errata & ts::msg::logf (Errata &err, Errata::Id id,Errata::Code code,char const *format,...)
 printf style log to Errata.
Errata ts::msg::logf (Errata::Code code,char const *format,...)
 Return an Errata populated with a printf style formatted string.
Errata & ts::msg::logf (Errata &err, Errata::Code code,char const *format,...)
 printf style log to Errata.
Errata & ts::msg::logf (RvBase &rv,Errata::Code code,char const *format,...)
 Return an Errata in a return value populated with a printf style formatted string.
Errata ts::msg::log_errno (Errata::Code code,char const *text)
 Return an Errata based on errno.
Errata ts::msg::logf_errno (Errata::Code code,char const *format,...)
 Return an Errata based on errno.
Errata ts::msg::logf_errno (Errata &errata,Errata::Code code,char const *format,...)
 Add a message to an errata based on errno.
Errata ts::msg::logf_errno (RvBase &rv,Errata::Code code,char const *format,...)
 Add a message to a return value based on errno.

Variables

Message severity levels.

Errata::Code ts::msg::FATAL = 3
 Fatal, cannot continue.
Errata::Code ts::msg::WARN = 2
 Significant, should be fixed.
Errata::Code ts::msg::INFO = 1
 Interesting, not necessarily a problem.
Errata::Code ts::msg::DEBUG = 0
 Interesting, not necessarily a problem.

Detailed Description

TS Configuration utilities for Errata and logging.

License

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you 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.

Definition in file TsErrataUtil.cc.