ufe
5.5
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
log.h
Go to the documentation of this file.
1
#line 1 "S:/jenkins/workspace/ECP/ufe/ufe-full-python3.11-windows/ufe/include/log.h"
2
#ifndef _log
3
#define _log
4
// ===========================================================================
5
// Copyright 2018 Autodesk, Inc. All rights reserved.
6
//
7
// Use of this software is subject to the terms of the Autodesk license
8
// agreement provided at the time of installation or download, or which
9
// otherwise accompanies this software in either electronic or hard copy form.
10
// ===========================================================================
11
12
#include <string>
13
#include "
common/ufeExport.h
"
14
15
#ifdef WIN32
16
#define UFE_LOG(MSG) \
17
( Ufe::log(__FUNCTION__, __FILE__, __LINE__, MSG) )
18
#else
19
#define UFE_LOG(MSG) \
20
( Ufe::log(__func__, __FILE__, __LINE__, MSG) )
21
#endif
22
23
UFE_NS_DEF
24
{
25
// \brief Log message.
26
//
27
// This function sends to standard error the logged message, the
28
// filename, line number, and function where the log was requested.
29
//
30
// \param func The function where the log was requested.
31
// \param filename The filename where the log was requested.
32
// \param lineno The line number where the log was requested.
33
// \param msg Logged message.
34
UFE_SDK_DECL
void
log
(
const
char
* func,
35
const
char
* filename,
36
int
lineno,
37
const
std::string
& msg);
38
39
}
// UFE_NS_DEF
40
41
#endif
/* _log */
Ufe::PathString::string
std::string string(const Path &path)
Ufe::log
void log(const char *func, const char *filename, int lineno, const std::string &msg)
UFE_NS_DEF
#define UFE_NS_DEF
Definition:
ufe.h:35
ufeExport.h
Definition of macros for symbol visibility.
UFE_SDK_DECL
#define UFE_SDK_DECL
Definition:
ufeExport.h:36
common
include
ufe
log.h
Generated on Tue Sep 3 2024 09:29:42 for ufe by
1.9.4