public class Logger extends Object
Logger object which allows for performance optimizations around string
formatting, better formatted log descriptions, and more library control over when to log.| Modifier and Type | Method and Description |
|---|---|
static void |
debug(OperationContext opContext,
String format) |
static void |
debug(OperationContext opContext,
String format,
Object... args) |
static void |
debug(OperationContext opContext,
String format,
Object arg1) |
static void |
debug(OperationContext opContext,
String format,
Object arg1,
Object arg2) |
static void |
error(OperationContext opContext,
String format) |
static void |
error(OperationContext opContext,
String format,
Object... args) |
static void |
error(OperationContext opContext,
String format,
Object arg1) |
static void |
error(OperationContext opContext,
String format,
Object args1,
Object args2) |
static void |
info(OperationContext opContext,
String format) |
static void |
info(OperationContext opContext,
String format,
Object... args) |
static void |
info(OperationContext opContext,
String format,
Object arg1) |
static void |
info(OperationContext opContext,
String format,
Object arg1,
Object arg2) |
static boolean |
shouldLog(OperationContext opContext) |
static void |
trace(OperationContext opContext,
String format) |
static void |
trace(OperationContext opContext,
String format,
Object... args) |
static void |
trace(OperationContext opContext,
String format,
Object arg1) |
static void |
trace(OperationContext opContext,
String format,
Object arg1,
Object arg2) |
static void |
warn(OperationContext opContext,
String format) |
static void |
warn(OperationContext opContext,
String format,
Object... args) |
static void |
warn(OperationContext opContext,
String format,
Object arg1) |
static void |
warn(OperationContext opContext,
String format,
Object arg1,
Object arg2) |
public static void debug(OperationContext opContext, String format)
public static void debug(OperationContext opContext, String format, Object... args)
public static void debug(OperationContext opContext, String format, Object arg1)
public static void debug(OperationContext opContext, String format, Object arg1, Object arg2)
public static void error(OperationContext opContext, String format)
public static void error(OperationContext opContext, String format, Object... args)
public static void error(OperationContext opContext, String format, Object arg1)
public static void error(OperationContext opContext, String format, Object args1, Object args2)
public static void info(OperationContext opContext, String format)
public static void info(OperationContext opContext, String format, Object... args)
public static void info(OperationContext opContext, String format, Object arg1)
public static void info(OperationContext opContext, String format, Object arg1, Object arg2)
public static void trace(OperationContext opContext, String format)
public static void trace(OperationContext opContext, String format, Object... args)
public static void trace(OperationContext opContext, String format, Object arg1)
public static void trace(OperationContext opContext, String format, Object arg1, Object arg2)
public static void warn(OperationContext opContext, String format)
public static void warn(OperationContext opContext, String format, Object... args)
public static void warn(OperationContext opContext, String format, Object arg1)
public static void warn(OperationContext opContext, String format, Object arg1, Object arg2)
public static boolean shouldLog(OperationContext opContext)
/**
* Copyright Microsoft Corporation
*
* 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.
*/